[Issue 21188] Anonymous structs - not described

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 25 14:12:27 UTC 2022


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3355 "[spec/struct] Add 'Union
Literals' & 'Anonymous Structs & Unions'" fixing this issue:

- [spec/struct] Add 'Union Literals' & 'Anonymous Structs & Unions'

  Fix Issue 21188 - Anonymous structs - not described.
  Fix Issue 18855 - Behavior of Anonymous Union is Undocumented.

  Fix: Non-overlapping union field data is not default initialized, it is
  zeroed.

https://github.com/dlang/dlang.org/pull/3355

--


More information about the Digitalmars-d-bugs mailing list