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

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,
};