On Wed Sep 22 19:09:19 2010, ash_gti wrote:
> $ perl6
> > class A { method a { 1 } }; A.can('a');
> ===SORRY!===
> get_string() not implemented in class 'P6Invocation'
> 
> 
> It happens whenever you try to Stringify the result of .can, .can is
> probably returning something primitive in parrot.

Fixed:

16:15 < [Coke]> rakudo: class C { method M {} }; say C.new.can('M');
16:15 <+p6eval> rakudo 88c5a5: OUTPUT«M␤»
16:16 < [Coke]> rakudo: class A { method a { 1 } }; A.can('a').say;
16:16 <+p6eval> rakudo 88c5a5: OUTPUT«a␤»


Closable with tests.


-- 
Will "Coke" Coleda

Reply via email to