On 10/5/2011 3:40 AM, Mark J. Reed wrote:
In 'A.foo', is the invocant really "of class A"?  I mean, given that it *is*
class A...
No, it's not "class A", or some kind of class object - those don't exist in Perl 6. It's an empty instance of class A, so the error message is appropriate. The invocant just happens to be the instance of class A that serves as the type object.

Thanks,

Jonathan


Reply via email to