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
BEGIN time error messages lack line numbers #2312
Comments
From @moritzmoritz@jacq:~/p6/rakudo>./perl6 -e 'BEGIN { a() }' Any code run at BEGIN time lacks a stack trace, which is rather annoying. |
From @cokeOn Fri Dec 31 09:02:30 2010, moritz wrote:
Behavior has changed slightly, but is still broken: $ perl6 -e 'BEGIN { a() }' -- |
The RT System itself - Status changed from 'new' to 'open' |
From @SiddhantOn Wed May 29 18:50:10 2013, coke wrote:
Behaviour is different on moar and parrot: $ perl6-p -e 'BEGIN { a() }' $ perl6-p --version |
From @jnthnOn Fri Dec 31 09:02:30 2010, moritz wrote:
The one in this ticket now gives the correct compile-time error about an undeclared routine, before even trying to run the code: $ perl6-m -e "BEGIN { a() }" Actual errors in the runtime of BEGIN blocks now come with decent amounts of information: $ perl6-m -e "BEGIN { die 'oh noes' }" Tested both in S32-exceptions/misc.t. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#81502 (status was 'resolved')
Searchable as RT81502$
The text was updated successfully, but these errors were encountered: