[Issue 21229] [REG 2.080.2] Constructor flow analysis doesn't understand unions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 9 07:39:29 UTC 2021


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

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 #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

--


More information about the Digitalmars-d-bugs mailing list