On Sun Jun 27 22:18:48 2010, pmichaud wrote:
> The problem is not unique to derived classes.  Standard exceptions also
> have the issue as well:
> 
>     die Exception.new("Test");    # displays "T"
> 
> The problem appears to be that Exception.new() expects a Parrot
> Exception PMC as an argument, and doesn't know what to do with a string.
> 
> Pm

00:37 < [Coke]> die Exception.new("Test"); 
00:37 < [Coke]> rakudo: die Exception.new("Test"); 
00:37 <+p6eval> rakudo cbdd9b: OUTPUT«Default constructor only takes named 
                arguments␤  in method new at src/gen/CORE.setting:502␤  in 
<anon> at 
                /tmp/Vb7LIiy8VA:1␤  in <anon> at /tmp/Vb7LIiy8VA:1␤␤»




-- 
Will "Coke" Coleda

Reply via email to