On Tue Aug 03 08:59:05 2010, moritz wrote:
> 17:54 < moritz_> rakudo: class A { has $b; method new { my $b = 3; say
> $b } };  A.new()
> 17:54 <+p6eval> rakudo efe72c: OUTPUT«Type objects are abstract and have
> no  attributes, but you tried to access $!b␤  in 'A::new' at line
> 22:/tmp/ACdVhQjE_4␤  in main program body at line  22:/tmp/ACdVhQjE_4␤»
> 
> found by timbunce++

Exciting new failure mode:

15:47 < [Coke]> rakudo: class A { has $b; method new { my $b = 3; say $b } };
                A.new()
15:47 <+p6eval> rakudo 142c41: OUTPUT«Cannot assign into a PMCNULL container␤
                in method new at /tmp/6Wnn0tQ2HA:1␤  in block <anon> at
                /tmp/6Wnn0tQ2HA:1␤  in <anon> at /tmp/6Wnn0tQ2HA:1␤»


-- 
Will "Coke" Coleda

Reply via email to