Skip to content
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

END blocks don't run after &die in Rakudo (but they do in Perl 5 and according to perldoc) #2144

Closed
p6rt opened this issue Sep 8, 2010 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Sep 8, 2010

Migrated from rt.perl.org#77736 (status was 'resolved')

Searchable as RT77736$

@p6rt
Copy link
Author

p6rt commented Sep 8, 2010

From @masak

<masak> buubot​: eval END { print "OH HAI\n" }; die "oh noes"
<buubot> masak​: ERROR​: oh noes at (eval 40) line 1. OH HAI
<masak> rakudo​: END { say "OH HAI" }; die "oh noes"
<p6eval> rakudo ea77cc​: OUTPUT«oh noes␤ in main program body at line
22​:/tmp/FgUuXM3aoF␤»
* masak consults S04
<masak> no mention.
* masak submits rakudobug

Just to be clear​: since there's no mention of any difference in
behavior in S04, Rakudo should behave like Perl 5 and execute the END
block after printing the &die error message.

@p6rt
Copy link
Author

p6rt commented Jun 5, 2012

From @moritz

Works now, and tested in integration/error-reporting.t

@p6rt
Copy link
Author

p6rt commented Jun 5, 2012

@moritz - Status changed from 'new' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant