# New Ticket Created by  Prakash Kailasa 
# Please include the string:  [perl #75342]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75342 >


>> perl6 -v
This compiler is built with the Parrot Compiler Toolkit, parrot revision 46946.

# this works as expected
>> perl6 -e 'my @a = 0, 1, 2; for @a {$_++ if $_}; say @a.perl'
[0, 2, 3]

# this fails
>> perl6 -e 'my @a = 0, 1, 2; for @a { if $_ { $_++ } }; say @a.perl'
[0, 1, 2]

Thanks,
Prakash Kailasa

Reply via email to