On Thu Apr 16 06:29:21 2009, masak wrote:
> Rakudo 2c13d6 doesn't allow me to mix a role's method into an Array
object.
> 
> $ perl6 -e 'role DebugLog { method log_message { say $^message } }; my
> @array does DebugLog; @array.log_message("OH HAI")'
> Method 'log_message' not found for invocant of class 'Perl6Array'
> [...]

It worked, apart from not doing 'does' at the point of declaration.
Which also now works, plus added tests.

Jonathan

Reply via email to