We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Migrated from rt.perl.org#127711 (status was 'open')
Searchable as RT127711$
The text was updated successfully, but these errors were encountered:
$ perl6 -e '{ 42.say; X::AdHoc.new(:payload(43)).throw; 44.say; CATCH { }; }; CATCH { when X::AdHoc { $_.message.say; $_.resume } }' 42 43 Trying to unwind over wrong handler
Notably this prevents resuming exceptions thrown from inside a Lock.protect block.
Without the inner CATCH block, works as expected:
$ perl6 -e '{ 42.say; X::AdHoc.new(:payload(43)).throw; 44.say; }; CATCH { when X::AdHoc { $_.message.say; $_.resume } }' 42 43 44
IRC discussion:
http://irclog.perlgeek.de/perl6/2016-03-14#i_12182095
Sorry, something went wrong.
Still present in today's rakudo 2ad323:
<Zoffix> m: { 42.say; X::AdHoc.new(:payload(43)).throw; 44.say; CATCH { }; }; CATCH { when X::AdHoc { $_.message.say; $_.resume } } <camelia> rakudo-moar 2ad323: OUTPUT«4243Trying to unwind over wrong handler»
@coke - Status changed from 'new' to 'open'
No branches or pull requests
Migrated from rt.perl.org#127711 (status was 'open')
Searchable as RT127711$
The text was updated successfully, but these errors were encountered: