summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/array_spec.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-09-07 16:01:16 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-09-07 16:05:15 +0900
commit1e008105bc4576af46036f1c73f96f7f93bee319 (patch)
tree52bb069d7af5ca839e659e10b3e577ab6b01fe4e /spec/ruby/core/array/array_spec.rb
parentc725a4e48fc30cb60e539e86c917698209184345 (diff)
compile.c (compile_list): emit newarraykwsplat only at the last chunk
`[{}, {}, {}, ..., {}, *{}]` is wrongly created. A big array literal is created and concatenated for every 256 elements. The newarraykwsplat must be emitted only at the last chunk.
Diffstat (limited to 'spec/ruby/core/array/array_spec.rb')
0 files changed, 0 insertions, 0 deletions