On Thu Oct 16 10:22:06 2008, masak wrote:
> Moritz (>), Carl (>>):
> >> Rakudo r31994 can call methods on classes without :: in them, but not
> >> on classes having them.
> >>
> >> $ perl6 -e 'class A { method foo { say "OH HAI" } }; A.new.foo'
> >> OH HAI
> >>
> >> $ perl6 -e 'class A::B { method foo { say "OH HAI" } }; A::B.new.foo'
> >> Method 'foo' not found for invocant of class 'A;B'
> >> [...]
> >
> > We clearly need more OO tests. Care to add that one (as TODO) to one of
> > the S12 tests that is included in `make spectest`?
> 
> I added the new test file t/spec/S12-class/namespaced.t -- feel free
> to merge it (and its single test) into another test file. I'm not sure
> I got the TODO fudging right.
> 
In r32333 I got this passing and added the (now unfudged) test to
spectest_regression.

Thanks,

Jonathan

Reply via email to