On Sun Mar 29 12:31:47 2009, moritz wrote:
> On Wed Dec 17 08:03:11 2008, jn...@jnthn.net wrote:
> > On Sat Dec 06 14:10:48 2008, masak wrote:
> > > This should work, according to S12:
> > > 
> > > $ perl6 -e 'class A { method x(Int $a) { say "Int" }; method y(Str $a)
> > > { say "Str" }; method z { my @candidates = &x, &y;
> > 
> > For this to work, I guess it implies that methods get entries in the
> > namespace as A::x so we can look them up as &x. Is this certainly the
> case?
> > 
> > > se...@candidates("foo"); se...@candidates(5) } }; A.new.z'
> > > invoke() not implemented in class 'ResizablePMCArray'
> > > 
> > I'll fix this sometimes soon - some spectests for it would be great (we
> > have none, that I can find).
> 
> FYI, some very few basic tests are in
t/spec/S12-methods/indirect_notation.t
>  
Implemented this a little while back, reviewed those tests and tweaked
them if needed (can't quite remember) and they're passing. So, closing
ticket. :-)

Thanks,

Jonathan

Reply via email to