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


Hi!

The Rakudo REPL terminates when the result of the given expression is a Failure
object, e.g. from an exception that is raised within an 'eval'.

I would expect the REPL to print an error message and continue.

Lithos

This is Rakudo Perl 6, version 2010.07-84-g0e5edb5 built on parrot 2.6.0 r48225

$ ./perl6
> die
Died

> eval 'die'
===SORRY!===
Died

(terminates)
$


Can also be demonstrated by directly constructing a Failure:

$ ./perl6
> Failure.new("OH NO!")
===SORRY!===
Method 'handled' not found for invocant of class 'Str'
(terminates)
$

Reply via email to