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

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <[email protected]> ---
@MoonlightSentinel created dlang/dmd pull request #12641 "Fix 21989 - Reset
destructed instance with preview=dtorfields" fixing this issue:

- Fix 21989 - Reset destructed instance with preview=dtorfields

  Emplacing the initializer ensures that the GC won't run the destructor
  on an invalid instance.

  Preventing the destructor call from the GC doesn't seem to be feasible
  due to the potentually lesser qualified GC interface (not `pure`, ...).

https://github.com/dlang/dmd/pull/12641

--

Reply via email to