My guess would be that there’s a string EVAL under the hood somewhere:

$ 6 'say "hello"; EVAL "foo"'
hello
===SORRY!=== Error while compiling /Users/liz/Github/rakudo.moar/EVAL_0
Undeclared routine:
    foo used at line 1

Agree that the error could be considered LTA, as the “SORRY” indicates compile 
time, and it’s not from the user’s PoV.


Liz

> On 16 May 2016, at 18:44, Alex Jakimenko (via RT) 
> <perl6-bugs-follo...@perl.org> wrote:
> 
> # New Ticket Created by  Alex Jakimenko 
> # Please include the string:  [perl #128161]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=128161 >
> 
> 
> Code:
> say ‘Hello’;
> *...‘WAT’
> 
> Result:
> Hello
> ===SORRY!===
> Method 'succ' not found for invocant of class 'Whatever'
> 
> 
> Well, I've always thought that ===SORRY!=== is compile time only.

Reply via email to