mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
need to adjust register pos after rescue
This commit is contained in:
@@ -914,6 +914,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
genop(s, MKOP_A(OP_RAISE, exc));
|
||||
}
|
||||
}
|
||||
pop();
|
||||
tree = tree->cdr;
|
||||
dispatch(s, noexc);
|
||||
genop(s, MKOP_A(OP_POPERR, 1));
|
||||
|
||||
Reference in New Issue
Block a user