[Issue 17970] shared struct destructor doesn't compile anymore

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 30 10:02:46 UTC 2018


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

Atila Neves <atila.neves at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |atila.neves at gmail.com

--- Comment #3 from Atila Neves <atila.neves at gmail.com> ---
This doesn't compile either now:

struct Inner { ~this() {} }
struct Outer { shared Inner inner; }

void main() {
    Outer _;
}

--


More information about the Digitalmars-d-bugs mailing list