Skip to content

Commit

Permalink
fixing the expansion of the span when parsing decorators
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Achermann <[email protected]>
  • Loading branch information
achreto committed Sep 28, 2023
1 parent 01e8e13 commit 94e4c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/decorators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fn decorator_element(
Vec::new()
};

loc.expand_until_start(&i2);
loc.span_until_start(&i2);

let res = VelosiParseTreeProperty {
ident: name,
Expand Down

0 comments on commit 94e4c62

Please sign in to comment.