Fixed a bug caused by last minute change; fix #3610

Omitted `goto L_RAISE` to raise an exception.
parent fe3fe8fc
...@@ -1538,6 +1538,7 @@ RETRY_TRY_BLOCK: ...@@ -1538,6 +1538,7 @@ RETRY_TRY_BLOCK:
L_NOSUPER: L_NOSUPER:
exc = mrb_exc_new_str_lit(mrb, E_NOMETHOD_ERROR, "super called outside of method"); exc = mrb_exc_new_str_lit(mrb, E_NOMETHOD_ERROR, "super called outside of method");
mrb_exc_set(mrb, exc); mrb_exc_set(mrb, exc);
goto L_RAISE;
} }
if (lv == 0) stack = regs + 1; if (lv == 0) stack = regs + 1;
else { else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment