# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #73988]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73988 >


<masak> rakudo: die "A"; CATCH { say "OH HAI" }; CATCH { say "OH NOES" }
<p6eval> rakudo 63ff06: OUTPUT«OH HAI␤»
<masak> std: die "A"; CATCH { say "OH HAI" }; CATCH { say "OH NOES" }
<p6eval> std 30265: OUTPUT«ok 00:01 106m␤»
<masak> what actually *does* happen when you have two CATCH blocks in a scope?
<masak> S04 only says that it's disallowed.
<masak> should it be a compile-time error?
* moritz_ hopes so
* masak submits rakuodbug

S04: "Apart from C<CATCH> and C<CONTROL>, which can only occur once,
most of these can occur multiple times within the block."

Just like moritz, I think I'd expect a compile-time error from this.

Reply via email to