summaryrefslogtreecommitdiff
path: root/test/-ext-/array/test_to_ary_concat.rb
AgeCommit message (Collapse)Author
2021-09-01Guard array when appendingAaron Patterson
This prevents early collection of the array. The GC doesn't see the array on the stack when Ruby is compiled with optimizations enabled Thanks @jhaberman for the test case [ruby-core:105099] [Bug #18140]