[perl #72326] [BUG] The same class-wide variable, accessed two different ways, behaves like two different variables in Rakudo

2012-08-05 Thread Carl Mäsak via RT
r: class A::B { my $c = 42; method foo { $A::B::c = "OH HAI"; say $c } }; A::B.foo rakudo 0eea68: OUTPUT«42␤» r: class A::B { my $c = 42; method foo { $c = "OH HAI"; say $A::B::c } }; A::B.foo rakudo 0eea68: OUTPUT«Any()␤» the former one is fine, I guess. at least if package stashes can be

[perl #72326] [BUG] The same class-wide variable, accessed two different ways, behaves like two different variables in Rakudo

2010-01-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #72326] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=72326 > This be Rakudo db84bc on Parrot r43174. $ perl6 -e 'class A::B { my $c; method foo { $c