diff options
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2435,6 +2435,7 @@ compile_array_(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE* node_root, else { ADD_INSN(anchor, line, concatarray); } + APPEND_LIST(ret, anchor); break; case COMPILE_ARRAY_TYPE_HASH: @@ -2461,6 +2462,10 @@ compile_array_(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE* node_root, break; } } + else { + /* poped */ + APPEND_LIST(ret, anchor); + } } } } |