On Fri Mar 19 06:30:17 2010, masak wrote:
> <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
Turns out we had a $*SCOPE leak. But not any more!

> package A { sub f { say "OH HAI" } }; A::f
Can not find sub A::f

Given to moritz++ for spectest.

Thanks,

Jonathan

Reply via email to