Fixed a critical typo; ref #3798

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-08-30 16:51:17 +09:00
parent 2c85213298
commit 483a038d39
+1 -1
View File
@@ -1804,7 +1804,7 @@ RETRY_TRY_BLOCK:
if (mrb_type(blk) == MRB_TT_PROC) {
struct RProc *p = mrb_proc_ptr(blk);
if (!MRB_PROC_STRICT_P(proc) &&
if (!MRB_PROC_STRICT_P(p) &&
ci > mrb->c->cibase && p->env == ci[-1].env) {
p->flags |= MRB_PROC_ORPHAN;
}