fix(tvix/eval): pass correct slot when compiling attr values
Change-Id: I90722d59dea4c7694eb5a7cf505db31196ba6c6c Reviewed-on: https://cl.tvl.fyi/c/depot/+/6501 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
677d4e6881
commit
43ec68d5ae
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ impl Compiler<'_, '_> {
|
|||
// is constructed at runtime.
|
||||
let value_span = self.span_for(&kv.value().unwrap());
|
||||
let value_slot = self.scope_mut().declare_phantom(value_span, false);
|
||||
self.compile(slot, kv.value().unwrap());
|
||||
self.compile(value_slot, kv.value().unwrap());
|
||||
self.scope_mut().mark_initialised(value_slot);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue