Inheritance of purity

Timon Gehr timon.gehr at gmx.ch
Fri Feb 17 06:16:59 PST 2012


On 02/17/2012 03:00 PM, kenji hara wrote:
> I think this is a current implementation problem.
>
> In this case, just `override void foo()` in class D should override
> the method in C.
> And `void foo()const` should be a new overlodad of foo.
>
> Kenji Hara
>

Walter has stated that this is by design.

http://d.puremagic.com/issues/show_bug.cgi?id=3757


More information about the Digitalmars-d mailing list