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


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to