feat(tvix/eval): track source spans for function calls

Change-Id: If1bb463026414597acd561dc2032549fdb70f986
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6397
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-09-01 17:49:11 +03:00 committed by tazjin
parent e590b585e7
commit ec8ff79aee

View file

@ -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