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

declaring a sub in a for loop will make the for loop not run in Rakudo #2209

Closed
p6rt opened this issue Oct 5, 2010 · 5 comments
Closed

declaring a sub in a for loop will make the for loop not run in Rakudo #2209

p6rt opened this issue Oct 5, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 5, 2010

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

Searchable as RT78232$

@p6rt
Copy link
Author

p6rt commented Oct 5, 2010

From @masak

<masak> rakudo​: for 1, 2, 3 { .say }
<p6eval> rakudo 2ee5db​: OUTPUT«1â�¤2â�¤3â�¤Â»
<masak> rakudo​: for 1, 2, 3 { sub foo {}; .say }
<p6eval> rakudo 2ee5db​: ( no output )
<masak> o.O
* masak submits rakudobug
<masak> rakudo​: for 1, 2, 3 { sub foo {}; .say }; say "alive"
<p6eval> rakudo 2ee5db​: OUTPUT«aliveâ�¤Â»
<jnthn> ...wtf...
<masak> yeah. not funny.
<masak> please don't do that.
<jnthn> unlol

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

From @coke

On Tue Oct 05 15​:34​:32 2010, masak wrote​:

<masak> rakudo​: for 1, 2, 3 { .say }
<p6eval> rakudo 2ee5db​: OUTPUT«1â�¤2â�¤3â�¤Â»
<masak> rakudo​: for 1, 2, 3 { sub foo {}; .say }
<p6eval> rakudo 2ee5db​: ( no output )
<masak> o.O
* masak submits rakudobug
<masak> rakudo​: for 1, 2, 3 { sub foo {}; .say }; say "alive"
<p6eval> rakudo 2ee5db​: OUTPUT«aliveâ�¤Â»
<jnthn> ...wtf...
<masak> yeah. not funny.
<masak> please don't do that.
<jnthn> unlol

Still happening with rakudo 38907e
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 12, 2011

From @tadzik

It appears to work fine now. With test in 16bc94ad9 it can be closed.

@p6rt
Copy link
Author

p6rt commented Nov 12, 2011

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Nov 12, 2011
@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