On Tue Dec 30 09:52:07 2008, pmichaud wrote:
> On Tue Dec 30 01:47:47 2008, masak wrote:
> > Just wondering whether the following syntax, currently accepted by
> > Rakudo r34628, is legal Perl 6:
> > 
> > $ perl6 -e 'say ("a".."c").list[0..**-1]'
> > abc
> 
> 
> As of r34652, this now produces an empty list (which is what I would
> expect).
> 
>     $ perl6 -e 'say ("a".."c").list[0..**-1]'
> 
>     $
> 
> Rakudo is parsing **-1 as "whatever times -1", which means the range is
> being computed as 0..-3, which produces an empty slice.

Goodie. I see no reason to keep this ticket open. Resolving.

Reply via email to