Is this a D puzzler or a bug?

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri Mar 30 19:53:22 PDT 2007


"Jarrett Billingsley" <kb3ctd2 at yahoo.com> wrote in message 
news:eukglm$mfk$1 at digitalmars.com...
>
> Though you have just made me realize that there doesn't seem to be a way 
> to call the base class's implementation of a method, directly or 
> indirectly, in MiniD..!
>

I take that back.  Given that B derives from A, it can call A's 
implementation of a method by writing:

A.method(with this);

but it's a bit clumsy.  Although this _does_ allow for calling method 
implementations several levels up in the inheritance graph. 




More information about the Digitalmars-d-learn mailing list