feat(tvix/eval): track source spans for lists

Change-Id: Icfd057ee29180cac17264bb3299c67eae0051aee
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6387
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2022-09-01 17:15:32 +03:00 committed by tazjin
parent d8f494b50b
commit eb169c51a7

View file

@ -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.