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


<jnthn> If you want to write Foo::lol you should mark the method "our"
<masak> ok.
<jnthn> But Rakudo doesn't support that yet.
<masak> rakudo: package A { sub f { say "OH HAI" } }; A::f
<p6eval> rakudo 1e9aa0: OUTPUT«OH HAI␤»
<jnthn> ...erm. I'm not sure that's quite right either. :-/
<masak> it does seem strange considering what you just said.
<jnthn> Aren't subs lexically scoped?
<jnthn> Right
<jnthn> I think that's a bug.
* masak submits rakudobug
<jnthn> I'm rather surprised that worked.
<masak> so are the rest of us :P
<jnthn> methods have "has" scope by default.
<jnthn> Yes, but even knowing the guts I'm surprised. :-)
<masak> knowing the guts is just distracting when finding bugs :)
<jnthn> Strangely, it helps with fixing them. :-P

Reply via email to