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:
parent
e590b585e7
commit
ec8ff79aee
1 changed files with 1 additions and 1 deletions
|
@ -911,7 +911,7 @@ impl Compiler<'_> {
|
||||||
// to enter the function call straight away.
|
// to enter the function call straight away.
|
||||||
self.compile(slot, node.argument().unwrap());
|
self.compile(slot, node.argument().unwrap());
|
||||||
self.compile(slot, node.lambda().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
|
/// Compile an expression into a runtime thunk which should be
|
||||||
|
|
Loading…
Reference in a new issue