[Issue 17505] [REG2.075] @safe constructor requires the deconstructor to be safe as well

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 16 20:19:21 PDT 2017


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

greenify <greeenify at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify at gmail.com

--- Comment #2 from greenify <greeenify at gmail.com> ---
FYI have you seen Cybershadow's comment?
https://github.com/dlang/dmd/pull/6816#issuecomment-307657520

And his reduced test case for the regression in libasync?

struct S
{
    ~this() {}
}

class C
{
    S s;

    this() nothrow {}
}

--


More information about the Digitalmars-d-bugs mailing list