No need to pop ensure stack if eidx is smaller than epos; #3855 #3856

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-11-22 12:21:24 +09:00
parent fe3ac50845
commit 4665b07f7b
+1 -1
View File
@@ -1329,7 +1329,7 @@ RETRY_TRY_BLOCK:
mrb_value self = regs[0];
struct RClass *target_class = ci->target_class;
if (mrb->c->eidx == epos) {
if (mrb->c->eidx <= epos) {
NEXT;
}