On Wed Jun 09 14:45:50 2010, masak wrote:
> <jnthn> rakudo: my ::foo $x;
> <p6eval> rakudo a54677: OUTPUT�Null PMC access in type() [...]
> <jnthn> masak: You only got a birdie, not a hole in one. :P
> <masak> jnthn: will update the ticket.
> <diakopter> hee
> <jnthn> :-)
> <jnthn> masak: Yeah, I was looking at it thinking "hmm, I know how
> that code works and I'm
> surprised we make it past the declaration" :)

Now they say:

00:19 < [Coke]> rakudo: my ::foo $x; say $x
00:19 <+p6eval> rakudo cbdd9b: OUTPUT«Cannot call a method on type variable 
foo␤  in 
                find_method at src/gen/Metamodel.pm:261␤  in sub say at 
                src/gen/CORE.setting:4722␤  in sub say at 
src/gen/CORE.setting:4729␤ 
                in <anon> at /tmp/ormgC9k2j3:1␤  in <anon> at 
/tmp/ormgC9k2j3:1␤␤»
00:19 < [Coke]> rakudo: my ::foo $x;
00:19 <+p6eval> rakudo cbdd9b:  ( no output )
00:19 < [Coke]> rakudo: my ::foo $x; say "alive"
00:19 <+p6eval> rakudo cbdd9b: OUTPUT«alive␤»


-- 
Will "Coke" Coleda

Reply via email to