feat(tvix/eval): track source spans for attribute selects
Change-Id: Ifa8b0e7905f9d2746f83d6503ef0e8d42ce20f9c Reviewed-on: https://cl.tvl.fyi/c/depot/+/6389 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
d1e0c6f680
commit
2b1468dde3
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ impl Compiler<'_> {
|
|||
// nested selects.
|
||||
for fragment in path.attrs() {
|
||||
self.compile_attr(slot, fragment);
|
||||
self.push_op_old(OpCode::OpAttrsSelect);
|
||||
self.push_op(OpCode::OpAttrsSelect, &node);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue