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
Zero-arg 'return' does not work with statement-modifier 'if' in rakudo #192
Comments
From @masak$ svn info | grep Revi This works. $ ./perl6 -e 'sub a { return }; say a()' $ ./perl6 -e 'sub a { return 5 }; say a()' This doesn't. $ ./perl6 -e 'sub a { return if False; return 5 }; say a()' |
From @pmichaudThis is because statement modifiers aren't yet recognized as |
The RT System itself - Status changed from 'new' to 'open' |
From @pmichaudFixed in r31163, thanks! Pm |
@pmichaud - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#57334 (status was 'resolved')
Searchable as RT57334$
The text was updated successfully, but these errors were encountered: