Compare commits

...

1 Commits

Author SHA1 Message Date
7f275095a2 fix: continue statement compiled incorrectly 2024-04-07 12:50:58 +03:00

View File

@@ -10,7 +10,7 @@ public class ContinueStatement extends Statement {
@Override
public void compile(CompileResult target, boolean pollute) {
target.add(Instruction.nop(loc(), "cont", label));
target.add(Instruction.nop("cont", label));
if (pollute) target.add(Instruction.pushUndefined());
}