Luke Palmer skribis 2006-02-13  9:36 (+0000):
> That's a compile time error.  Both "has" declarations generate a
> method "a", so it is a method conflict.

Doesn't normally double declaration end in the later masking/overriding
the earlier declaration, with a warning, but not an error?

I'd expect
    has $.a;
    has @.a;

To result in both $.a and @.a, but only one method .a, which is an
accessor for @.a


Reply via email to