Thread overview
[Issue 23345] ImportC: out of order designated initializers initialize to wrong value
Sep 24
Dlang Bot
Sep 26
Dlang Bot
September 23
https://issues.dlang.org/show_bug.cgi?id=23345

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
A much simpler test case:

  struct S { int a, b; };

  struct S s = { .b = 3, .a = 2 };

The initialization is a=0, b=3

--
September 24
https://issues.dlang.org/show_bug.cgi?id=23345

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #14480 "fix Issue 23345 - ImportC: out of order designated initializers initi…" fixing this issue:

- fix Issue 23345 - ImportC: out of order designated initializers initialize to wrong value

https://github.com/dlang/dmd/pull/14480

--
September 26
https://issues.dlang.org/show_bug.cgi?id=23345

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14480 "fix Issue 23345 - ImportC: out of order designated initializers initi…" was merged into master:

- 03581fc72d138f27101c31efc8933692b0552487 by Walter Bright:
  fix Issue 23345 - ImportC: out of order designated initializers initialize to
wrong value

https://github.com/dlang/dmd/pull/14480

--