Thread overview
[Issue 17970] shared struct destructor doesn't compile anymore
Nov 07, 2017
anonymous4
Jan 30, 2018
Atila Neves
Feb 12, 2018
RazvanN
November 07, 2017
https://issues.dlang.org/show_bug.cgi?id=17970

anonymous4 <dfj1esp02@sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=17658

--- Comment #1 from anonymous4 <dfj1esp02@sneakemail.com> ---
https://github.com/dlang/dmd/pull/6752 - this? https://forum.dlang.org/post/dchjhgdqvwprkrhmsuvn@forum.dlang.org

--
January 16, 2018
https://issues.dlang.org/show_bug.cgi?id=17970

alex.jercaianu@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex.jercaianu@gmail.com

--- Comment #2 from alex.jercaianu@gmail.com ---
 shared struct Foo
 {
     ~this()
     {
     }
 }

 void main()
 {
     Foo x;
 }

This still does not compile

--
January 30, 2018
https://issues.dlang.org/show_bug.cgi?id=17970

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

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

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

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

void main() {
    Outer _;
}

--
February 12, 2018
https://issues.dlang.org/show_bug.cgi?id=17970

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> ---
PR : https://github.com/dlang/dmd/pull/7874

--
February 12, 2018
https://issues.dlang.org/show_bug.cgi?id=17970

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/8a61a31749272ec0ebe10f826ab696510e5ed154 Fix Issue 17970 - shared struct destructor doesn't compile anymore

https://github.com/dlang/dmd/commit/2c70923e3c369148b24c75be6e362c1231ae620a Merge pull request #7874 from RazvanN7/Issue_17970

Fix Issue 17970 - shared struct destructor doesn't compile anymore merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>

--
February 12, 2018
https://issues.dlang.org/show_bug.cgi?id=17970

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--