Fixed a critical typo; ref #3798

parent 2c852132
...@@ -1804,7 +1804,7 @@ RETRY_TRY_BLOCK: ...@@ -1804,7 +1804,7 @@ RETRY_TRY_BLOCK:
if (mrb_type(blk) == MRB_TT_PROC) { if (mrb_type(blk) == MRB_TT_PROC) {
struct RProc *p = mrb_proc_ptr(blk); 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) { ci > mrb->c->cibase && p->env == ci[-1].env) {
p->flags |= MRB_PROC_ORPHAN; p->flags |= MRB_PROC_ORPHAN;
} }
......
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