diff --git a/crates/aiken-lang/src/parser.rs b/crates/aiken-lang/src/parser.rs index c7c50ebe..daff92a6 100644 --- a/crates/aiken-lang/src/parser.rs +++ b/crates/aiken-lang/src/parser.rs @@ -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, };