dup field in sub-class should be reported by the compiler

Manfred Nowak svv1999 at hotmail.com
Tue Aug 14 09:55:02 PDT 2007


Walter Bright wrote

> you may need to specifically hide a base member.

If one needs to hide a base member, why not use composition?
For what is composition to be used in the philosophy of D, if it can be 
emulated by overriding?

-manfred 




More information about the Digitalmars-d mailing list