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
Strange error message in rakudo when returning from outside of a sub #183
Comments
From @masak$ svn info | grep Revi This error message is strange, needlessly exposes internals, and $ perl -e 'return' |
From @pmichaudOn Fri, Jul 25, 2008 at 05:47:30AM -0700, Carl Mäsak wrote:
Getting rakudo to do "Can't return outside a subroutine" is probably I suspect that PCT will end up implementing a setfile/setline Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @jnthnOn Fri Jul 25 05:47:30 2008, masak wrote:
Rakudo now says: $ perl6 -e "return" (Generalized subroutine to routine, since we also have method and Thanks, Jonathan |
@jnthn - Status changed from 'open' to 'resolved' |
From @masakOn Fri May 15 11:42:46 2009, jnthn@jnthn.net wrote:
We're back to the bad error message: $ perl6 -e 'return' Reopening ticket. |
@masak - Status changed from 'resolved' to 'open' |
From @thundergnatSeems to be working correctly in rakudo 2010.11. This is Rakudo Perl 6, version 2010.11 built on parrot 2.10.1 Locally, executing:
simply returns with no message. |
From @moritzNow says: which seems pretty good to me. |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#57268 (status was 'resolved')
Searchable as RT57268$
The text was updated successfully, but these errors were encountered: