[perl #98954] [BUG] Nested indexing semantics changed from Beijing to nom in Rakudo

2014-12-13 Thread Christian Bartolomaeus via RT
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 =

Re: [perl #98954] [BUG] Nested indexing semantics changed from Beijing to nom in Rakudo

2013-09-12 Thread Patrick R. Michaud
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 =

[perl #98954] [BUG] Nested indexing semantics changed from Beijing to nom in Rakudo

2013-09-12 Thread Carl Mäsak via RT
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

[perl #98954] [BUG] Nested indexing semantics changed from Beijing to nom in Rakudo

2011-09-12 Thread Carl Mäsak
# 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