You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code:
my @a = <a b c>; @a[*-18446744073709551616]:delete; say @a
Result (2015.12):
Calculated index (-18446744073709551613) is negative, but Array allows only 0-based indexing
in block <unit> at /tmp/g0zjzkXIcV line 1
Actually thrown at:
in block <unit> at /tmp/g0zjzkXIcV line 1
Result (HEAD):
[a b c]
Code:
my @a = <a b c>; @a[*-18446744073709551617]:delete; say @a
Result (2015.12):
Calculated index (-18446744073709551614) is negative, but Array allows only 0-based indexing
in block <unit> at /tmp/nlSDRWGjik line 1
Actually thrown at:
in block <unit> at /tmp/nlSDRWGjik line 1
Result (HEAD):
[a b]
Code:
my @a = <a b c>; @a[*-18446744073709551618]:delete; say @a
Result (2015.12):
Calculated index (-18446744073709551615) is negative, but Array allows only 0-based indexing
in block <unit> at /tmp/3LuNBo60du line 1
Actually thrown at:
in block <unit> at /tmp/3LuNBo60du line 1
Result (HEAD):
[a (Any) c]
While the error messages were a bit LTA, at least it was throwing an error.
Migrated from rt.perl.org#130290 (status was 'new')
Searchable as RT130290$
The text was updated successfully, but these errors were encountered: