Failure due to memcpy being called at compile time

JG someone at simewhere.com
Tue Jun 21 04:30:25 UTC 2022


On Tuesday, 21 June 2022 at 01:39:43 UTC, Paul Backus wrote:
> On Tuesday, 14 June 2022 at 05:35:46 UTC, JG wrote:
>> On Monday, 13 June 2022 at 21:45:39 UTC, Paul Backus wrote:
>>> The call to `move` is coming from `SumType.opAssign`:
>>>
>>> https://github.com/dlang/phobos/blob/v2.100.0/std/sumtype.d#L681
>>>
>>> I've filed a bugzilla issue for this here:
>>>
>>> https://issues.dlang.org/show_bug.cgi?id=23182
>>
>> Thanks, for doing this.
>
> Update: a new release of [the `sumtype` package on 
> code.dlang.org][1] is available that includes the fix for this 
> bug.
>
> `std.sumtype` will be fixed in the next Phobos release, 2.100.1.
>
> [1]: https://code.dlang.org/packages/sumtype

That is great. Is this a work around the CFE bug?


More information about the Digitalmars-d-learn mailing list