# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #106832]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=106832 >
<moritz> wow, it seems that nom's Failure doesn't expose the
underlying exception, except by re-throwing it :/
<masak> that's... a regression.
<masak> b: sub foo { fail "ooh!" }; say foo().exception.payload
<p6eval> b 1b7dd1: OUTPUT«ooh!»
<masak> nom: sub foo { fail "ooh!" }; say foo().exception.payload
<p6eval> nom 7a1925: OUTPUT«ooh! in method <anon> at
src/gen/CORE.setting:6930 [...]
<moritz> aye, I'm going to chain that
* masak submits rakudobug
<moritz> masak: would be .exception.Str on nom
<moritz> and will be
<masak> nom: sub foo { fail "ooh!" }; say foo().exception.Str
<p6eval> nom 7a1925: OUTPUT«ooh! in method <anon> at
src/gen/CORE.setting:6930 [...]