Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delegating and defining a method at the same time

0 views
Skip to first unread message

Adriano Ferreira

unread,
Jun 30, 2006, 1:43:03 PM6/30/06
to Perl 6 Language List
What is supposed to happen if one says:

class Dog {

has $:tail handles 'wag';

meth wag { # something else than $:tail.wag
}
}

Is it a compilation error? Or one of the definitions prevail (with a
warning or something)?

Adriano Ferreira.

0 new messages