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


<ash_> rakudo: my $a = class { has $a; }; say $a.new(a => 1).perl; #
that looks funny too...
<p6eval> rakudo 19931f: OUTPUT«.new(a => 1)␤»
<ash_> but i have no idea what is "right", just looks funny...
* masak submits rakudobug
<pmichaud> rakudo:  my $a = class { has $a; };  say $a.perl;
<p6eval> rakudo 19931f: OUTPUT«␤»

On the principle that an eval should give you back what you started
with, probably both of these are wrong. Might not be easy or even
doable to get right, but we should probably avoid spitting out
something that we know will be eval'd wrongly. Might even be better to
die or fail in that case.

Reply via email to