I’m inclined to WONTFIX, as other, much more common, indexing operation suffer from the same issue:
$ 6 'my @a; say @a[9999999999999999999]' Cannot unbox 64 bit wide bigint into native integer $ 6 'my @a[9999999999999999999]' Illegal dimension in shape: 9999999999999999999. All dimensions must be integers bigger than 0 etc etc etc. > On 7 Dec 2016, at 01:37, Aleks-Daniel Jakimenko-Aleksejev (via RT) > <perl6-bugs-follo...@perl.org> wrote: > > # New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev > # Please include the string: [perl #130285] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=130285 > > > > Code: > say (4,5,6).tail(-9999999999999999999) > > Result HEAD: > MoarVM panic: Memory allocation failed; could not allocate > 12233720368547758088 bytes > > Result (2016.09): > () > > > Code: > say (4,5,6).head(-9999999999999999999) > > Result HEAD: > (4 5 6) > > Result (2016.09): > () > > > Bisectable points to these commits: > * > https://github.com/rakudo/rakudo/commit/a3406cba841cd9ecdd3bda49b9a415381615961c > * > https://github.com/rakudo/rakudo/commit/6996512e3c994fafa2d34e8c5c9bf9d25f0a0810