Adjust sp for case ... in pat1 | pat2 ... end
This commit is contained in:
parent
0759862458
commit
6bc0c6c18b
Notes:
git
2020-08-16 18:39:44 +09:00
@ -6228,6 +6228,7 @@ iseq_compile_pattern_each(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *c
|
||||
ADD_LABEL(ret, match_succeeded);
|
||||
ADD_INSN(ret, line, pop);
|
||||
ADD_INSNL(ret, line, jump, matched);
|
||||
ADD_INSN(ret, line, putnil);
|
||||
ADD_LABEL(ret, fin);
|
||||
CHECK(iseq_compile_pattern_each(iseq, ret, node->nd_2nd, matched, unmatched, TRUE, deconstructed_pos));
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user