Should not raise LocalJumpError on funcall'ed frame; fix #3750

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-07-21 07:17:21 +09:00
parent 04c21d9d6b
commit e2c9a30571
+1 -1
View File
@@ -1964,7 +1964,7 @@ RETRY_TRY_BLOCK:
if (ci->env) {
mrb_env_unshare(mrb, ci->env);
}
if (ci->acc < 0) {
if (ci != ce && ci->acc < 0) {
localjump_error(mrb, LOCALJUMP_ERROR_RETURN);
goto L_RAISE;
}