[perl #119427] [BUG] Rakudo doesn't parse @a[10] as a shaped array in a signature (but STD.pm6 does)

2015-11-18 Thread jn...@jnthn.net via RT
On Sat Jan 03 08:12:50 2015, barto...@gmx.de wrote: > Nowadays @a[10] in a signature is parsed as a shaped array (and gives > a fitting error message since shape declaration is NYI): > > $ perl6 -e 'sub foo(@a[10]) { }' > ===SORRY!=== Error while compiling -e > Shape declaration is not yet impleme

[perl #119427] [BUG] Rakudo doesn't parse @a[10] as a shaped array in a signature (but STD.pm6 does)

2015-01-03 Thread Christian Bartolomaeus via RT
Nowadays @a[10] in a signature is parsed as a shaped array (and gives a fitting error message since shape declaration is NYI): $ perl6 -e 'sub foo(@a[10]) { }' ===SORRY!=== Error while compiling -e Shape declaration is not yet implemented; please use whitespace if you meant a subsignature for un

[perl #119427] [BUG] Rakudo doesn't parse @a[10] as a shaped array in a signature (but STD.pm6 does)

2013-08-22 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #119427] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=119427 > r: sub test(@a[10]) { say +@a }; test((1, 2, 3, 4, 5, 6, 7, 8, 9, 10)) rakudo e