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


Rakudo r29147:
> eval '$x'; say $!.perl
Scope not found for PAST::Var '$x'

Instead of storing the error in $!, the eval itself dies.
eval() should never through an exception (ie catch all excpetions
inside), and perhaps fail() on error, which only raises an exception if
'use fatal;' is in scope.

This affects some scoping tests in the test suite, notably in
t/spec/S04-declarations/my.t and t/builtins/my.t (not yet in spec/, but
I'm working on it).

Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/

Reply via email to