[Issue 15246] Destructor inheritance doesn't inherit attributes properly

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Oct 27 07:24:05 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15246

--- Comment #7 from Andrei Alexandrescu <andrei at erdani.com> ---
@mleise that is surprising. I assumed calling __dtor also invokes the base
destructors.  What is the canonical way to destroy a D class properly?

(This bug report stands.)

--


More information about the Digitalmars-d-bugs mailing list