[Issue 23937] LDC with -nogc and DMD object.destroy

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 26 07:35:10 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |MOVED

--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
Hello, this does not seem to be a dmd-druntime issue. Note that LDC has a
modified version of druntime so from dmd's perspective this issue has nothing
actionable.

You can report this to ldc.

> //scope( exit) c.~C(); // C++ style. doesnt compile

This works if you call c.__dtor();

--


More information about the Digitalmars-d-bugs mailing list