Thread overview
[Issue 21198] Inout copy constructor on union field does not prevent copy-initialization of union
Aug 27, 2020
Dlang Bot
Aug 29, 2020
Dlang Bot
Sep 11, 2020
Dlang Bot
August 27, 2020
https://issues.dlang.org/show_bug.cgi?id=21198

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@pbackus created dlang/dmd pull request #11634 "Fix issue 21198 - Inout copy constructor on union field does not prev…" fixing this issue:

- 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

--
August 29, 2020
https://issues.dlang.org/show_bug.cgi?id=21198

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

--
September 11, 2020
https://issues.dlang.org/show_bug.cgi?id=21198

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

- f602545af9c0db08b70a8ff2372515416c1a2d2a 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/11718

--