diff --git a/src/parser/decorators.rs b/src/parser/decorators.rs index 2f38738..de9ccaa 100644 --- a/src/parser/decorators.rs +++ b/src/parser/decorators.rs @@ -127,7 +127,7 @@ fn decorator_element( Vec::new() }; - loc.expand_until_start(&i2); + loc.span_until_start(&i2); let res = VelosiParseTreeProperty { ident: name,