Thread overview
[Issue 18855] Behavior of Anonymous Union is Undocumented
Jul 25, 2022
Nick Treleaven
Jul 27, 2022
Dlang Bot
Jul 29, 2022
RazvanN
July 25, 2022
https://issues.dlang.org/show_bug.cgi?id=18855

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                URL|                            |https://github.com/dlang/dl
                   |                            |ang.org/pull/3355
                 CC|                            |nick@geany.org

--
July 27, 2022
https://issues.dlang.org/show_bug.cgi?id=18855

--- Comment #1 from Dlang Bot <dlang-bot@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

--
July 29, 2022
https://issues.dlang.org/show_bug.cgi?id=18855

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |FIXED

--