Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rakudo loops in for-loop with arity 0 block #159

Closed
p6rt opened this issue Jul 6, 2008 · 4 comments
Closed

rakudo loops in for-loop with arity 0 block #159

p6rt opened this issue Jul 6, 2008 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 6, 2008

Migrated from rt.perl.org#56648 (status was 'resolved')

Searchable as RT56648$

@p6rt
Copy link
Author

p6rt commented Jul 6, 2008

From @moritz

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/

@p6rt
Copy link
Author

p6rt commented Jul 6, 2008

From @pmichaud

Fixed in r29109, thanks!

Pm

1 similar comment
@p6rt
Copy link
Author

p6rt commented Jul 6, 2008

From @pmichaud

Fixed in r29109, thanks!

Pm

@p6rt
Copy link
Author

p6rt commented Jul 6, 2008

@pmichaud - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jul 6, 2008
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant