Fixed in https://github.com/rakudo/rakudo/commit/28bf87439e
Tests in https://github.com/perl6/roast/commit/3253db362c


On Fri Sep 30 23:14:32 2016, c...@zoffix.com wrote:
> # 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