# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #74186]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74186 >


<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 ideas why this might be?
<jnthn> masak: lexical scope f'up, I guess.
* masak submits rakudobug
<jnthn> masak: file Rakudo bug but I can probably fix that without too
much trouble.
<masak> \o/
<jnthn> rakudo: class A { our sub b { 0x10 }; has $!c = b }; A.new
<p6eval> rakudo 4c94d7:  ( no output )
<jnthn> masak: Horrible workaround above.
<masak> good to know.

Reply via email to