The typed exception has changed and AFAIU the current behaviour is correct
(cmp. also ticket 111924) :
$ perl6 -e 'my @a = [1], [2], [3]; say (map { @a[1 - $_][0] }, 0 .. 3).perl'
(2, 1, Failure.new(exception = X::Subscript::Negative.new(index = -1, type =
Array)), Failure.new(exception =
On Thu, Sep 12, 2013 at 11:48:02AM -0700, Carl Mäsak via RT wrote:
These days, it fails.
masak rn: my @a = [1], [2], [3]; say (map { @a[1 - $_][0] }, 0 ..
3).perl
camelia niecza v24-95-ga6d4c5f: OUTPUT«(2, 1, Any, Any).list»
camelia ..rakudo 69c3cc: OUTPUT«(2, 1, Failure.new(exception =
On Mon Sep 12 15:04:09 2011, masak wrote:
masak b: my @a = [1], [2], [3]; say (map { @a[1 - $_][0] }, 0 ..
3).perl
p6eval b 1b7dd1: OUTPUT«(2, 1, Any, Any)»
masak nom: my @a = [1], [2], [3]; say (map { @a[1 - $_][0] }, 0 ..
3).perl
p6eval nom 08ef94: OUTPUT«(2, 1).list»
* masak submits
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #98954]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=98954
masak b: my @a = [1], [2], [3]; say (map { @a[1 - $_][0] }, 0 .. 3).perl
p6eval