On Fri Aug 06 04:18:42 2010, lithos wrote: > 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) > $
This no longer occurs: $ ./perl6 > die > eval "die" > Failure.new("OH NO!"); Failure.new(exception => "OH NO!") > (all in the same REPL session.) marking as needing tests. -- Will "Coke" Coleda