refactor(tvix/eval): point OpPushWith span at namespace

Pointed out by sterni in cl/6395

Change-Id: I2dda2bb11fef702df05fd7a4fd93b9e717a85dad
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6567
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-09-13 16:10:27 +03:00 committed by tazjin
parent 62623ef46c
commit 477015cfe3

View file

@ -759,7 +759,7 @@ impl Compiler<'_, '_> {
self.scope_mut().push_with();
self.push_op(OpCode::OpPushWith(with_idx), &node);
self.push_op(OpCode::OpPushWith(with_idx), &node.namespace().unwrap());
self.compile(slot, node.body().unwrap());