[Issue 21198] Inout copy constructor on union field does not prevent copy-initialization of union
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 29 18:49:32 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21198
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 #11634 "Fix issue 21198 - Inout copy constructor on
union field does not prev…" was merged into stable:
- 573bf6a171f5dd23caebda7bb2ca66455c3d6d0f by Paul Backus:
Fix issue 21198 - Inout copy constructor on union field does not prevent
copy-initialization of union
Previously, generated copy constructors of unions were disabled only if
they failed to type-check. They are now disabled in all cases, as
required by the language spec.
https://github.com/dlang/dmd/pull/11634
--
More information about the Digitalmars-d-bugs
mailing list