fix: call was not capturing full span

This commit is contained in:
rvcas 2023-01-16 15:26:07 -05:00
parent 38734361d0
commit 5ceb3b07fb
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 1 additions and 1 deletions

View File

@ -1234,7 +1234,7 @@ pub fn expr_parser(
.collect();
let call = expr::UntypedExpr::Call {
location: span,
location: expr.location().union(span),
fun: Box::new(expr),
arguments: args,
};