1
0

Fix block test

This commit is contained in:
Jeff 2024-09-18 08:29:00 -04:00
parent 89573e81b9
commit 56f1222cfc

View File

@ -46,8 +46,10 @@ fn block_scope() {
(Instruction::declare_local(1, 1), Span(46, 47)), (Instruction::declare_local(1, 1), Span(46, 47)),
(Instruction::load_constant(2, 2), Span(92, 93)), (Instruction::load_constant(2, 2), Span(92, 93)),
(Instruction::declare_local(2, 2), Span(88, 89)), (Instruction::declare_local(2, 2), Span(88, 89)),
(Instruction::close(2, 3), Span(84, 124)),
(Instruction::load_constant(3, 3), Span(129, 130)), (Instruction::load_constant(3, 3), Span(129, 130)),
(Instruction::declare_local(3, 3), Span(125, 126)), (Instruction::declare_local(3, 3), Span(125, 126)),
(Instruction::close(1, 4), Span(42, 153)),
(Instruction::load_constant(4, 4), Span(158, 159)), (Instruction::load_constant(4, 4), Span(158, 159)),
(Instruction::declare_local(4, 4), Span(154, 155)), (Instruction::declare_local(4, 4), Span(154, 155)),
], ],