It makes from
sign = data.isZero() ? false : sign ^ (y < 0);
a
sign = data.isZero() ? false : sign ^ y < 0;
which gives
Error: y < 0 must be parenthesized when next to operator ^
Comment #1 by andrej.mitrovich — 2017-04-17T14:53:26Z
Header shouldn't contain code, just declarations. Could you show a fuller example?
Comment #2 by temtaime — 2017-04-17T14:59:54Z
If it's a templated function, then with -inline it should contain the code too.
Just try to create a header from bigint.d from phobos
Comment #3 by razvan.nitu1305 — 2017-10-31T12:16:23Z
Comment #4 by razvan.nitu1305 — 2017-11-01T09:33:25Z
As the above PR has been merged and the fix is available in HEAD dev branch, I'll close this as resolved. If there is urgent need for this fix, please copy paste the fix from the PR, it's a one liner.
Comment #5 by github-bugzilla — 2017-12-18T22:56:20Z