Any reason as to why this isn't allowed?

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 4 10:09:32 PDT 2016


Am Sat, 02 Apr 2016 13:02:18 +0000
schrieb Lass Safin <lasssafin at gmail.com>:

> class C {
>          ~this() {}
>          immutable ~this() {}
> }
> 
> This gives a conflict error between the two destructors.

That is https://issues.dlang.org/show_bug.cgi?id=13628

-- 
Marco



More information about the Digitalmars-d mailing list