On Fri Apr 16 01:26:52 2010, masak wrote:
> <masak> alpha: class A { my $b; method c { $A::b = 5; say $A::b } };
> A.new.c
> <p6eval> alpha 30e0ed: OUTPUT«5␤»
> <masak> rakudo: class A { my $b; method c { $A::b = 5; say $A::b } };
> A.new.c
> <p6eval> rakudo 78faa0: OUTPUT«Null PMC access in getprop() [...]
> * masak submits rakuodbug
> 
> I'm no longer sure that this syntax will actually give me access to
> the variable, but even if it doesn't the error shouldn't be a Null PMC
> access.

16:04 < [Coke]> rakudo: class A { my $b; method c { $A::b = 5; say $A::b 
} };
                A.new.c
16:04 <+p6eval> rakudo 88c5a5: OUTPUT«5␤»


Closable with tests.

-- 
Will "Coke" Coleda

Reply via email to