[Issue 23182] Can't assign struct with opAssign to SumType in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 14 04:39:04 UTC 2022


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

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/phobos pull request #8474 "Fix Issue 23182 - Can't assign struct with
opAssign to SumType in CTFE" was merged into master:

- 7022304c0ec10050aedaa007069d88750046e6ba by Paul Backus:
  Fix Issue 23182 - Can't assign struct with opAssign to SumType in CTFE

  SumType.opAssign now avoids calling core.lifetime.move or
  core.lifetime.forward during CTFE whenever possible.

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

--


More information about the Digitalmars-d-bugs mailing list