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
LEAVE doesn't trigger when an exception is thrown #3160
Comments
From @tadzikS04 says: LEAVE {...} [executes] at every block exit time (even stack unwinds from Running perl6 version 2013.05-15-gcd5ca7c built on parrot 5.2.0 revision
According to the spec, this should also say OK |
From @usev6The described problem (no 'OK' is printed) persists on Parrot but works fine on Moar and JVM: $ perl6-p -e 'sub foo { LEAVE { say "OK" }; die "died" }; foo()' 2>/dev/null I added a test (skipped for Parrot) to S04-phasers/enter-leave.t with the following commit: Raku/roast@6e02af8c84 |
1 similar comment
From @usev6The described problem (no 'OK' is printed) persists on Parrot but works fine on Moar and JVM: $ perl6-p -e 'sub foo { LEAVE { say "OK" }; die "died" }; foo()' 2>/dev/null I added a test (skipped for Parrot) to S04-phasers/enter-leave.t with the following commit: Raku/roast@6e02af8c84 |
@usev6 - Status changed from 'new' to 'open' |
From @usev6Since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm closing this "parrot only" ticket. I added the ticket to a list of closed ticket living in the Mu repository: https://github.com/perl6/mu/blob/master/misc/rt.perl.org/tickets_closed_parrot_only.txt. In case support for Parrot will be restored in some future release the listed tickets can be checked and re-opened as appropriate. |
@usev6 - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#118387 (status was 'rejected')
Searchable as RT118387$
The text was updated successfully, but these errors were encountered: