This works now:
$ perl6-m -e 'my ($a, $c); ($a, $ , $c) = 1..3; say $a; say $c'
1
3
Also, S02 was modified recently
(https://github.com/perl6/specs/commit/aadf0589905c9d76488fd81f738201d12f6d9eeb)
and the new version explicitly allows the use of "($a, $, $c) = 1..3;"
I added a test to S03-oper
On Thu May 23 14:54:13 2013, labster wrote:
> Well, almost fixed. The spec says:
> > Attempts to say something like:
> > ($a, $, $c) = 1..3;
> > will result in the message, "Anonymous variable requires declarator".
>
> It results in the message:
> > Non-declarative sigil is missing its name
>
# New Ticket Created by Brent Laabs
# Please include the string: [perl #118075]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=118075 >
[1:09pm] labster: r: my ($a, $c); ($a, $, $c) = 1..3;
[1:09pm] camelia: rakudo 14e