0af1df4be2
The condition here was extremely hard to read prior to this change. As the locals vector is now guaranteed to never be empty (there is always at least a phantom for the current chunk's root expression), the logic here can be simplified to just dropping tailing locals entries while their depth matches that of the scope being closed. Change-Id: I24973e23bc2ad25e62ece64ab4d8624e6e274c16 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6427 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI |
||
---|---|---|
.. | ||
builtins | ||
compiler | ||
tests | ||
value | ||
chunk.rs | ||
disassembler.rs | ||
errors.rs | ||
eval.rs | ||
lib.rs | ||
main.rs | ||
opcode.rs | ||
upvalues.rs | ||
vm.rs | ||
warnings.rs |