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
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
# 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