# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #129773]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129773 >


# I have the fix; filing for records

     <Zoffix> m: [].splice: 0, []  # weeeeeeeeeeee
     <camelia> rakudo-moar 1f29cb: OUTPUT«Memory allocation failed;  
could not allocate 80320 bytes␤»

The problem is the candidate called [^1] takes the replacement array  
as size to splice and then calls itself, ad infinitum.

Type restriction needs to be added to $size

[1] https://github.com/rakudo/rakudo/blob/1f29cb2/src/core/Array.pm#L1142

Reply via email to