# New Ticket Created by "Brian S. Julin" # Please include the string: [perl #130793] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=130793 >
In abf6caf0 the ability to explicitly .resume an exception caused by awaiting a broken promise... broke. However, implicitly resuming after handling the exception still works fine. $ perl6 -e 'my $p = Promise.new; my $b = 0; my $w = start { await($p); CATCH { default { $b = 1; .resume } } }; $p.break; await($w); $b.say' Tried to get the result of a broken Promise in block <unit> at -e line 1 Original exception: This exception is not resumable in block at -e line 1 in block at -e line 1 bri@atlas:~/git/perl6-xcb$ perl6 -e 'my $p = Promise.new; my $b = 0; my $w = start { await($p); CATCH { default { $b = 1; } } }; $p.break; await($w); $b.say' 1 various bot output links at: https://irclog.perlgeek.de/perl6/2017-02-16#i_14111000