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

Vladimir Panteleev thecybershadow at gmail.com
Mon Aug 13 11:56:16 PDT 2007


On Mon, 13 Aug 2007 21:45:28 +0300, name <someanon at yahoo.com> wrote:

> I think 90% of the time this happens it is a bug, not by the programmer's
> intention.
>
> If it's designed to be so in D, I propose to change it; or at least reported
> by the compiler.

Agreed - with non-private fields only, of course.

-- 
Best regards,
  Vladimir                          mailto:thecybershadow at gmail.com



More information about the Digitalmars-d mailing list