[Issue 23182] Can't assign struct with opAssign to SumType in CTFE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 13 22:01:36 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23182
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@pbackus created dlang/phobos pull request #8474 "Fix Issue 23182 - Can't
assign struct with opAssign to SumType in CTFE" fixing this issue:
- 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