On 2/13/06, Yiyi Hu <[EMAIL PROTECTED]> wrote:
> For perl 6,
> Array and Scalar are in different namespace.
> So,
>  class A { has $.a; has @.a };
>
> what will A.new.a return by default?

That's a compile time error.  Both "has" declarations generate a
method "a", so it is a method conflict.

Luke

Reply via email to