This is bug or not? (immutable class containing struct with dtor)

Denis Feklushkin feklushkin.denis at
Fri Dec 17 17:34:05 UTC 2021

On Friday, 17 December 2021 at 17:27:53 UTC, Denis Feklushkin 

>     ~this() {} // Comment out this to fix this compilation  
> error:
>     // Error: `immutable` method `serializer_bug.Imm.~this` is

("serializer_bug" is just name of my local .d file)

More information about the Digitalmars-d-learn mailing list