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
whitespace issue. was: loop fails (when followed by for ?) #938
Comments
From lode.leroy@gmail.comperl version: rakudo-d0a5de55a1da8c7307e6c486fd9b548fcbc0b727.tar.gz I tried this: loop(my $i=0; $i<10; $i++) { then this: for (0..10) ->$x { both of these work. but when I put them in the same file, like this: loop(my $i=0; $i<10; $i++) { for (0..10) ->$x { it doesn't work... Redeclaration of variable $i current instr.: 'parrot;PGE;Util;die' pc 129 |
lode.leroy@gmail.com - Status changed from 'new' to 'open' |
From lode.leroy@gmail.comactually, adding a space in the code fixes it, <<<-----------------------------------------
|
lode.leroy@gmail.com - Status changed from 'open' to 'new' |
From @kylehaThanks for your bug submission! On Wed Apr 22 07:09:42 2009, lleroy wrote:
This dies because $i<...> is interpreted as a postcircumfix:<...> loop (my $i=0; $i<10; $i++) { say $i } # > Since this is behaving as expected, I'm rejecting this bug. |
The RT System itself - Status changed from 'new' to 'open' |
@kyleha - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#64974 (status was 'rejected')
Searchable as RT64974$
The text was updated successfully, but these errors were encountered: