fix(tvix/eval): avoid forcing with-target until absolutely necessary

Change-Id: I00efbbb8b9d3d22f32becf0919c6adf1be8b4b69
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6465
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2022-09-05 17:01:12 +03:00 committed by tazjin
parent bb34665abd
commit 27e69503a7
2 changed files with 11 additions and 5 deletions

View file

@ -862,7 +862,6 @@ impl Compiler<'_, '_> {
// resolve that directly (thus avoiding duplication on the
// stack).
self.compile(slot, node.namespace().unwrap());
self.emit_force(&node.namespace().unwrap());
let span = self.span_for(&node.namespace().unwrap());