[PRISM] Fix TestTRICK#test_ksk_1
If an array element is a static literal that does not result in a intermediate array, it still needs to be compiled normally.
This commit is contained in:
parent
465cf8d80b
commit
f60499826f
Notes:
git
2024-08-21 20:32:39 +00:00
@ -5793,6 +5793,8 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret,
|
||||
}
|
||||
}
|
||||
else {
|
||||
PM_COMPILE_NOT_POPPED(element);
|
||||
if (++new_array_size >= max_new_array_size) FLUSH_CHUNK;
|
||||
static_literal = true;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user