[Issue 18855] Behavior of Anonymous Union is Undocumented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 27 13:35:35 UTC 2022


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

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

- Fix issues 18855 and 21188 - 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