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


$ ./perl6 -e 'my $a = Mu but True; say $a.WHICH; say $a.perl; my $b = 
$a.perl.EVAL'
Mu+{<anon>}
Mu+{<anon>}
X::Multi::NoMatch exception produced no message
  in block <unit> at EVAL_0:1
  in block <unit> at -e:1

The .perl method uses the same text that .WHICH does to distinguish Mu
but True from a mundane Mu.  This text parses as Perl code, but is not
correct for .perl's purpose and will not execute.  The same happens with
a bunch of other types modified by but.

-zefram

Reply via email to