The original fix was not enough, as passing incorrect type to `offset` also has the same issue.
Not pretty, but this commit fixes that issue: https://github.com/rakudo/rakudo/commit/b77d2b71db And tests for offset condition hang added in https://github.com/perl6/roast/commit/5d8750321d On Fri Sep 30 23:20:55 2016, c...@zoffix.com wrote: > 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 > > > >