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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |[email protected]
         Resolution|FIXED                       |---

--- Comment #8 from [email protected] ---
The fix had to be reverted, due to confusion and code breakage it would have
caused - see Dlang Bot links.

So the original issue still persists.

I personally think this should be left as-is. It's more a limitation of the
signed integral types than the abs function. Throwing an exception wouldn't be
good -it would break @nogc and nothrow callers and prevents using with
-betterC. A notification in function documentation should suffice.

--

Reply via email to