On Fri Nov 19 14:48:40 2010, masak wrote:
> <jnthn> rakudo: Foo::bar(); module Foo { our $x = 42; our sub bar() {
> $x.say } }
> <p6eval> rakudo : OUTPUT«Null PMC access in find_method('say')␤  in
> 'Foo::bar' [...]
> <masak> ISTR that bug is in RT somewhere.
> * masak looks
> <masak> hm. seems not.
> * masak submits rakudobug
> <masak> rakudo: Foo::bar(); module Foo { my $x; our sub bar { $x.say }
> }
> <p6eval> rakudo : OUTPUT«Null PMC access in find_method('say')␤  in
> 'Foo::bar' [...]
> <masak> rakudo: module Foo { my $x; sub bar { $x.say }; bar }
> <p6eval> rakudo : OUTPUT«Any()␤»
> 
> The Foo::bar() call shouldn't be made before the declaration of the
> module -- submitting that as a separate ticket. But even putting them
> after the module, the result is the same, since the call is made at
> runtime anyway.


Now working; closable with tests.

-- 
Will "Coke" Coleda

Reply via email to