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
START block phasers in statement-modifying for-loops do not work #2899
Comments
From @moritz21:50 < moritz> r: say START { 42 } for 1, 2 But this works: 21:50 < moritz> r: say START 42 for 1, 2 as does this: 21:52 < moritz> r: for 1, 2 { say START 42 } |
From @perlpilotThe C<START> phaser has been deprecated in favor of the C<once> statement prefix (see Raku/old-design-docs@fca7f5a), but the semantics appear to be the same: ➤ ./perl6
➤ ./perl6 --version On Fri Sep 14 12:52:38 2012, moritz wrote:
-- |
From @jnthnOn Sun Jul 19 02:53:08 2015, duff wrote:
Fixed this one: $ perl6-m -e "say once { 42 } for 1, 2;" Tests in S04-statements/once.t.
Will also note that this one is correct due to precedence. /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#114914 (status was 'resolved')
Searchable as RT114914$
The text was updated successfully, but these errors were encountered: