-
Notifications
You must be signed in to change notification settings - Fork 1
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
repeat while loop not being entered when inside a routine and block #5140
Comments
From @Skarsnik<masak> m: sub foo($c) { return if $c == 0; { say "B $c"; repeat { say "A Should not stop and continue :) -- Victory was near but the power of the ring couldn't be undone |
From @zoffixznetStill present today in rakudo de5d9e: <Zoffix> m: sub foo($c) { return if $c == 0; { say "B $c"; repeat { say "A $c"; foo($c -1) } while 0 } }; foo(3) Also, discovered this related bug while testing: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=128596 -- |
From @TimToadyThe repeat and loop constructs weren't properly self-sinking at statementlist level. Fixed in 589061eac14f2847e2c4b401d2ff2eb30c62675e Test in cbbff3ba0f1120fe7dfded0a980f9b73263f0868 |
1 similar comment
From @TimToadyThe repeat and loop constructs weren't properly self-sinking at statementlist level. Fixed in 589061eac14f2847e2c4b401d2ff2eb30c62675e Test in cbbff3ba0f1120fe7dfded0a980f9b73263f0868 |
@TimToady - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#127563 (status was 'resolved')
Searchable as RT127563$
The text was updated successfully, but these errors were encountered: