Skip Menu |
Report information
Id: 78232
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] declaring a sub in a for loop will make the for loop not run in Rakudo
Date: Wed, 6 Oct 2010 00:34:09 +0200
To: rakudobug [...] perl.org
From: Carl Mäsak <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 402b
<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
Download (untitled) / with headers
text/plain 526b
On Tue Oct 05 15:34:32 2010, masak wrote: Show quoted text
> <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
It appears to work fine now. With test in 16bc94ad9 it can be closed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org