On Saturday, 22 April 2017 at 11:54:12 UTC, Nordlöw wrote:
can no longer move the expression `y`.
I don't understand why this specific case fails when others in
the standard library apparently hasn't.
Help, please.
Please file a regression at issues.dlang.org and prefix the
subject with "[
On Saturday, 22 April 2017 at 11:54:12 UTC, Nordlöw wrote:
which means that the return statement at
https://github.com/nordlow/gmp-d/blob/660d82b99abeef2b26ef3c9c4525d08a2aafdc55/src/gmp/z.d#L484
can no longer move the expression `y`.
Note that changing the line 484 containing
return y;
AFAICT, release 2.074.0 has regressed move semantics in function
return statements.
As a consequence, my package
https://github.com/nordlow/gmp-d/
no longer compiles.
At master branch, `dub build` now errors as
Performing "debug" build using /usr/bin/dmd for x86_64.
gmp-d 0.0.1+commit.1