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:
parent
62623ef46c
commit
477015cfe3
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ impl Compiler<'_, '_> {
|
||||||
|
|
||||||
self.scope_mut().push_with();
|
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());
|
self.compile(slot, node.body().unwrap());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue