[Issue 21229] [REG 2.080.2] Constructor flow analysis doesn't understand unions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 8 22:54:17 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21229
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at 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
--
More information about the Digitalmars-d-bugs
mailing list