On Sunday, 12 January 2020 at 15:21:05 UTC, Per Nordlöw wrote:
Thanks. So what about,- in the short run, Qualifying all user-defined class destructors with `@nogc`? - in the long run,Making DMD forbid GC-allocations transitively inside class destructors?
AFAICT, these rules should in most cases hold also for struct destructors as those might be called inside class destructors, transitively.