[Issue 22077] `std.sumtype` support for copy constructors is incomplete

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 12 03:23:18 UTC 2021


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

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

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

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #8192 "Fix issue 22077 - `std.sumtype` support for
copy constructors is inco…" was merged into master:

- cce2d6e926a5147ff9651a2c3fbb10dec59288e4 by Paul Backus:
  Fix issue 22077 - `std.sumtype` support for copy constructors is incomplete

  Previously, SumType would define the wrong set of constructors for types
  whose copyability varies depending on their mutability--a situation that
  was impossible with postblits, but is now possible with copy
  constructors.

https://github.com/dlang/phobos/pull/8192

--


More information about the Digitalmars-d-bugs mailing list