# New Ticket Created by Patrick R. Michaud
# Please include the string: [perl #58646]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58646 >
For rakudo builtin functions that are written in PIR, use
.return '!FAIL'('...message...')
instead of the old-style
$P0 = new 'Failure'
.return ($P0)
Functions that have return exception handlers in place
(i.e., those written in Perl 6) should simply call 'fail'
directly:
fail '...';
Pm