@nogc destroy

Adam D Ruppe destructionator at gmail.com
Sat Jan 15 13:25:42 UTC 2022

On Saturday, 15 January 2022 at 08:07:53 UTC, Stanislav Blinov 
> https://issues.dlang.org/show_bug.cgi?id=15246

Yes, indeed. The current implementation is in part in compliance 
with the spec and non-compliance with another, then another part 
that makes it in compliance with another part of the spec and 
non-compliance with yet another part...

Then the combination of those two parts creates a new mix of 
compliance and non-compliance, where it emulates virtual 
destructors and gives reasonable attributes at the top level, but 
fails to enforce the attributes on the destructors themselves 
leading to the problem we have today.

BTW it is amazing to me to see obvious misconceptions persist for 
so many years. This ProtoObject nonsense needs to be put to bed 
so we can start actually fixing things.

More information about the Digitalmars-d mailing list