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


Code:
say (4,5,6).tail(-9999999999999999999)

¦«2015.12»:
()

¦«2016.06»:
()

¦«2016.12»:
MoarVM panic: Memory allocation failed; could not allocate 12233720368547758088 
bytes «exit code = 1»

¦«2017.06»:
Cannot unbox 64 bit wide bigint into native integer
  in block <unit> at 
/home/bisectable/git/whateverable/data/regressionable/15219088/snippet line 1
 «exit code = 1»

¦«f72be0f130cf»:
Cannot unbox 64 bit wide bigint into native integer
  in block <unit> at 
/home/bisectable/git/whateverable/data/regressionable/15219088/snippet line 1
 «exit code = 1»


Possible IRC discussion: 
https://irclog.perlgeek.de/perl6-dev/2017-09-26#i_15219088

Output on all releases: https://gist.github.com/e2dcff80e1517153e8a6b8b401c9da46

No useful output from Bisectable.


I think that the behavior on 2015.12 is right. It should not throw an exception 
just because your negative number is slightly larger. So the right output would 
be “()” no matter how large or small your negative value is.

Reply via email to