# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #126711]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=126711 >


See this conversation and results from camelia for details: 
http://irclog.perlgeek.de/perl6/2015-11-23#i_11583339

There seems to be some inconsistent behaviour with whether the `try` catches 
the exception when `await`ed promises are broken:
CAUGHT: try await start { die }; say "alive"
NOT CAUGHT: my $p1 = start { sleep 3; 42 }; my $p2 = start { die 43 }; my ( 
$r1, $r2 ) = try await $p1, $p2; say 42;
CAUGHT: m: my $p1 = start { sleep 3; 42 }; my $p2 = start { die 43 }; my ( $r1, 
$r2 ) = try { await $p1, $p2; CATCH{ default {}}}; say 42;

Reply via email to