diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-01T14·49+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-07T20·04+0000 |
commit | ec8ff79aeef5d1e77ef1f31ed2916347c5584a67 (patch) | |
tree | 86f0f82d57a980c25fc547104ca0795d440e7e49 /tvix/eval | |
parent | e590b585e780f572bd30cdc4637c69f67f6c7b29 (diff) |
feat(tvix/eval): track source spans for function calls r/4730
Change-Id: If1bb463026414597acd561dc2032549fdb70f986 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6397 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to '')
-rw-r--r-- | tvix/eval/src/compiler/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/compiler/mod.rs b/tvix/eval/src/compiler/mod.rs index 0e26dbc23b9a..1e1e3e360550 100644 --- a/tvix/eval/src/compiler/mod.rs +++ b/tvix/eval/src/compiler/mod.rs @@ -911,7 +911,7 @@ impl Compiler<'_> { // to enter the function call straight away. self.compile(slot, node.argument().unwrap()); self.compile(slot, node.lambda().unwrap()); - self.push_op_old(OpCode::OpCall); + self.push_op(OpCode::OpCall, &node); } /// Compile an expression into a runtime thunk which should be |