about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-01T14·15+0300
committertazjin <tazjin@tvl.su>2022-09-07T19·23+0000
commiteb169c51a757a0bbf100030deeac300dd1d6dfb2 (patch)
tree3216e58dc95b0844e3e311ebe166f52b642ef782
parentd8f494b50b03760f69490ecc6d1f02c62937449b (diff)
feat(tvix/eval): track source spans for lists r/4720
Change-Id: Icfd057ee29180cac17264bb3299c67eae0051aee
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6387
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
-rw-r--r--tvix/eval/src/compiler/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/compiler/mod.rs b/tvix/eval/src/compiler/mod.rs
index 2c2576702e76..688013f439cb 100644
--- a/tvix/eval/src/compiler/mod.rs
+++ b/tvix/eval/src/compiler/mod.rs
@@ -427,7 +427,7 @@ impl Compiler<'_> {
             self.compile(slot, item);
         }
 
-        self.push_op_old(OpCode::OpList(Count(count)));
+        self.push_op(OpCode::OpList(Count(count)), &node);
     }
 
     // Compile attribute set literals into equivalent bytecode.