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


$ perl6 -e 'my $a = 0; loop while $a < 10 { say $a++ }'
Confused at line 1, near "{ say $a++"
[...]

I think the desired syntax is 'repeat while', not 'loop while'. The
compiler could give a hint to that effect. Ditto 'loop until'.

Reply via email to