[perl #75348] [BUG] Can't call local sub from RHS of assignment to attribute declaration in Rakudo

2010-08-12 Thread Carl Mäsak via RT
masak (), coke (): masak rakudo: class A { sub b { 0x10 }; has $!c = b }; A.new p6eval rakudo 4c94d7: OUTPUT«Could not find sub b [...] masak` this is biting me currently. I use subs because constants didn't work in classes in alpha, and don't work at all in master. masak jnthn: any

[perl #75348] [BUG] Can't call local sub from RHS of assignment to attribute declaration in Rakudo

2010-08-11 Thread Will Coleda via RT
On Tue May 25 06:41:53 2010, masak wrote: masak rakudo: class A { sub b { 0x10 }; has $!c = b }; A.new p6eval rakudo 4c94d7: OUTPUT«Could not find sub b [...] masak` this is biting me currently. I use subs because constants didn't work in classes in alpha, and don't work at all in master.

[perl #75348] [BUG] Can't call local sub from RHS of assignment to attribute declaration in Rakudo

2010-05-26 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #75348] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75348 masak rakudo: class A { sub b { 0x10 }; has $!c = b }; A.new p6eval rakudo 4c94d7: