Thread overview
[Issue 17073] [Reg 2.071.0] Priority clash with `void` default initialization of struct fields
[Issue 17073] Priority clash with `void` default initialization of struct fields
Jan 13, 2017
Martin Nowak
January 10, 2017
https://issues.dlang.org/show_bug.cgi?id=17073

bitter.taste@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bitter.taste@gmx.com

--- Comment #1 from bitter.taste@gmx.com ---
Covered by DMD's PR https://github.com/dlang/dmd/pull/6427

--
January 13, 2017
https://issues.dlang.org/show_bug.cgi?id=17073

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu
            Summary|Priority clash with `void`  |[Reg 2.071.0] Priority
                   |default initialization of   |clash with `void` default
                   |struct fields               |initialization of struct
                   |                            |fields
           Severity|normal                      |regression

--- Comment #2 from Martin Nowak <code@dawg.eu> ---
This regression was introduced with https://github.com/dlang/dmd/pull/5392 and got released with 2.071.0.

--
January 13, 2017
https://issues.dlang.org/show_bug.cgi?id=17073

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

https://github.com/dlang/dmd/commit/5f490432785a36efea2cb4dcda0d3ebb036d6c21 Fix issue 17073 - Do not ignore the explicit initializers

We don't really care about the _init being void-initialized when the user has supplied an explicit value for a given field of the aggregate.

https://github.com/dlang/dmd/commit/ac7efd9fdff63645e6c9b0278a8307dd07e3bfc1 Merge pull request #6427 from LemonBoy/b17073

Fix issue 17073 - Do not ignore the explicit initializers merged-on-behalf-of: Martin Nowak <code@dawg.eu>

--
January 13, 2017
https://issues.dlang.org/show_bug.cgi?id=17073

github-bugzilla@puremagic.com changed:

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

--
January 13, 2017
https://issues.dlang.org/show_bug.cgi?id=17073

--- Comment #4 from Joseph Rushton Wakeling <joseph.wakeling@webdrake.net> ---
Thanks everyone!  Much appreciated :-)

--
January 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17073

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

https://github.com/dlang/dmd/commit/5f490432785a36efea2cb4dcda0d3ebb036d6c21 Fix issue 17073 - Do not ignore the explicit initializers

https://github.com/dlang/dmd/commit/ac7efd9fdff63645e6c9b0278a8307dd07e3bfc1 Merge pull request #6427 from LemonBoy/b17073

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

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

https://github.com/dlang/dmd/commit/5f490432785a36efea2cb4dcda0d3ebb036d6c21 Fix issue 17073 - Do not ignore the explicit initializers

https://github.com/dlang/dmd/commit/ac7efd9fdff63645e6c9b0278a8307dd07e3bfc1 Merge pull request #6427 from LemonBoy/b17073

--