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:
Vincent Ambo 2022-09-01 17:20:57 +03:00 committed by tazjin
parent d1e0c6f680
commit 2b1468dde3

View file

@ -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);
}
}