fix: call was not capturing full span
This commit is contained in:
parent
38734361d0
commit
5ceb3b07fb
|
@ -1234,7 +1234,7 @@ pub fn expr_parser(
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let call = expr::UntypedExpr::Call {
|
let call = expr::UntypedExpr::Call {
|
||||||
location: span,
|
location: expr.location().union(span),
|
||||||
fun: Box::new(expr),
|
fun: Box::new(expr),
|
||||||
arguments: args,
|
arguments: args,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue