[Issue 24495] ImportC: Struct initialization expression fails to initialize field

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 10 22:15:50 UTC 2024


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16369 "Fix bugzilla issue 24495 - ImportC: Struct
initialization expression fails to initialize field" was merged into stable:

- 20cd1869b086b36e88033be09f8bb1376aebbf5d by Artha:
  Fix bugzilla issue 24495 - ImportC: Struct initialization expression fails to
initialize field

  Makes it possible to use multiple designated initializers for anonymous
  structs in expressions like `{{ .b = 2, .c = 3 }}`. This previously
  worked only if there was one initializer.

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

--


More information about the Digitalmars-d-bugs mailing list