Thread overview
[Issue 21229] [REG 2.080.2] Constructor flow analysis doesn't understand unions
Apr 08, 2021
Dlang Bot
Apr 09, 2021
Dlang Bot
Apr 09, 2021
Dlang Bot
April 08, 2021
https://issues.dlang.org/show_bug.cgi?id=21229

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel updated dlang/dmd pull request #12402 "Fix 21229 - Accept construction of union member as initialization" fixing this issue:

- Fix 21229 - Accept construction of a unions member as initialization

  Because the `union` is initialised when one of its members has been
  constructed.

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

--
April 09, 2021
https://issues.dlang.org/show_bug.cgi?id=21229

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12402 "Fix 21229 - Accept construction of union member as initialization" was merged into stable:

- d123fabb47d7c64a25997b8d2dcc2f1a7e981469 by MoonlightSentinel:
  Fix 21229 - Accept construction of a unions member as initialization

  Because the `union` is initialised when one of its members has been
  constructed.

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

--
April 09, 2021
https://issues.dlang.org/show_bug.cgi?id=21229

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12408 "Merge stable into master" was merged into master:

- 655278312e2851b74b1f88dd71c7ffdb47224c20 by MoonlightSentinel:
  Fix 21229 - Accept construction of a unions member as initialization

  Because the `union` is initialised when one of its members has been
  constructed.

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

--