diff options
author | Kevin Newton <[email protected]> | 2024-08-21 14:35:19 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-08-21 16:32:19 -0400 |
commit | f60499826f3a2845fced97556289c48f68be09e8 () | |
tree | a7a6b639e31e2f5705f711f054d9e3a1e917bb9b /prism_compile.c | |
parent | 465cf8d80b719a3507c188e9c6bc2fe2932138c6 (diff) |
[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.
Notes: Merged: https://.com/ruby/ruby/pull/11426
-rw-r--r-- | prism_compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5793,6 +5793,8 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, } } else { static_literal = true; } } else { |