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

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Steven Schveighoffer <[email protected]> ---
It should work, IMO.

Note that the way this looks internally is kind of bizarre. The actual ~this()
function is separate from the one that calls the member's dtor. So I can see
how it would not glue together right under the hood.

In other words, the compiler generates a function that does this:

realdtor()
{
   ~this();
   member.~this();
}

And I don't know if there's a way to annotate that one.

--

Reply via email to