From 5ceb3b07fbac705465dd884a4d8bb4ced5877f7d Mon Sep 17 00:00:00 2001 From: rvcas Date: Mon, 16 Jan 2023 15:26:07 -0500 Subject: [PATCH] fix: call was not capturing full span --- crates/aiken-lang/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, };