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


Rakudo as of r29098
$ ../../parrot perl6.pbc -e ' for 1 .. 2 -> { say 2 }'
2
2
2
2
...

A block with arity 0 shouldn't loop infinitely. I don't know what the
correct behaviour is, but I think it should consume one item per iteration.

Cheers,
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/

Reply via email to