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).

Jonathan

Reply via email to