Thread overview
[Issue 16227] std.numeric unit tests fail when run in isolation
Jul 12, 2016
TJ Ryan
Jul 18, 2016
greenify
Jul 18, 2016
greenify
Dec 27, 2016
greenify
July 12, 2016
https://issues.dlang.org/show_bug.cgi?id=16227

TJ Ryan <tjfryan@outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tjfryan@outlook.com

--- Comment #1 from TJ Ryan <tjfryan@outlook.com> ---
Throwing `writeln(!e);` before the `if (!e) continue;` on line 1943 of numeric.d somehow got the unittest to pass.  What's more interesting is that every time the continue is taken, !e is reported to be false.

--
July 18, 2016
https://issues.dlang.org/show_bug.cgi?id=16227

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #2 from greenify <greeenify@gmail.com> ---
For a workaround see https://github.com/dlang/phobos/pull/4587.

--
July 18, 2016
https://issues.dlang.org/show_bug.cgi?id=16227

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12@gmail.com

--- Comment #3 from greenify <greeenify@gmail.com> ---
*** Issue 16259 has been marked as a duplicate of this issue. ***

--
August 25, 2016
https://issues.dlang.org/show_bug.cgi?id=16227

--- Comment #4 from greensunny12@gmail.com ---
Just for completeness this also affects std.algorithm.sorting and has been reported by Andrei in the NG:

http://forum.dlang.org/post/nol5h2$lj$1@digitalmars.com

And a bit later by John:

http://forum.dlang.org/post/nggdlqrbtdwikklotpeo@forum.dlang.org

For the code coverage we temporarily exclude std.algorithm.sorting:

https://github.com/dlang/phobos/pull/4587

--
December 27, 2016
https://issues.dlang.org/show_bug.cgi?id=16227

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from greenify <greeenify@gmail.com> ---
This has been fixed since a while thanks to the cycle detection in druntime.

--