diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-01T14·20+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-07T19·23+0000 |
commit | 2b1468dde39289c0555ab01d9bb7db935041507b (patch) | |
tree | 377e0835674527a1c828a1a7503ba51fbb414685 /tvix/eval/src | |
parent | d1e0c6f680163b11582356f96ec7b5ae419e53f0 (diff) |
feat(tvix/eval): track source spans for attribute selects r/4722
Change-Id: Ifa8b0e7905f9d2746f83d6503ef0e8d42ce20f9c Reviewed-on: https://cl.tvl.fyi/c/depot/+/6389 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src')
-rw-r--r-- | tvix/eval/src/compiler/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/compiler/mod.rs b/tvix/eval/src/compiler/mod.rs index b72a7c7eda77..e5bf0992b1dd 100644 --- a/tvix/eval/src/compiler/mod.rs +++ b/tvix/eval/src/compiler/mod.rs @@ -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); } } |