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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Severity|normal                      |regression

--- Comment #9 from [email protected] ---
The expression (-1)^^x for negative x used to work correctly (by accident) due
to constant folding. This constant folding for pow is going away:
https://github.com/dlang/dmd/commit/0f2889c3aa9fba5534e754dade0cae574b636d55

Therefore, if this issue is not fixed, we will have a regression in the next
compiler release.

--

Reply via email to