[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 #95514] [BUG] Bogus error message about not enough positional parameter when role method calls another after a role method delegation in Rakudo

2012-08-05 Thread Carl Mäsak via RT
On Sun May 27 20:48:46 2012, coke wrote: > On Sun Jul 24 07:11:16 2011, masak wrote: > > rakudo: role R { method foo { self.bar(42) }; method bar($x) > { > > say "OH HAI" } }; class C does R { method foo { self.R::foo } }; > > C.new.foo > > rakudo 922500: OUTPUT«OH HAI␤» > > rakudo: role R { met

[perl #114394] [BUG] Type capture in signatures captures the wrong thing when rw containers are passed to a routine in Rakudo

2012-08-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #114394] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=114394 > hi looking at perl6 book, I tried the examples and find something curious: http