[perl #130285] [REGRESSION] Unhealthy overflow in .head and .tail with huge negative numbers ( (4,5,6).tail(-9999999999999999999) )

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I'm not sure if this is closable. The regression is no longer there, so I'll remove the tag, but here's a problem: Code: say (4,5,6).tail(-2**63+4) Result: () Code: say (4,5,6,7).tail(-2**63+4) Result: Cannot unbox 64 bit wide bigint into native integer in block at -e line 1 It feels like

Re: [perl #130285] [REGRESSION] Unhealthy overflow in .head and .tail with huge negative numbers ( (4,5,6).tail(-9999999999999999999) )

2017-07-22 Thread Elizabeth Mattijsen via RT
I’m inclined to WONTFIX, as other, much more common, indexing operation suffer from the same issue: $ 6 'my @a; say @a[999]' Cannot unbox 64 bit wide bigint into native integer $ 6 'my @a[999]' Illegal dimension in shape: 999. All dimensions must

Re: [perl #130285] [REGRESSION] Unhealthy overflow in .head and .tail with huge negative numbers ( (4,5,6).tail(-9999999999999999999) )

2017-07-22 Thread Elizabeth Mattijsen
I’m inclined to WONTFIX, as other, much more common, indexing operation suffer from the same issue: $ 6 'my @a; say @a[999]' Cannot unbox 64 bit wide bigint into native integer $ 6 'my @a[999]' Illegal dimension in shape: 999. All dimensions must

[perl #130285] [REGRESSION] Unhealthy overflow in .head and .tail with huge negative numbers ( (4,5,6).tail(-9999999999999999999) )

2016-12-06 Thread via RT
# 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. # https://rt.perl.org/Ticket/Display.html?id=130285 > Code: say (4,5,6).tail(-999) Result HEAD: MoarVM