Comment #0 by andrej.mitrovich — 2014-04-26T19:22:36Z
Not sure if Phobos or DMD regression, but:
$ rdmd --main -w -g -unittest --force std\algorithm.d
>
$ rdmd --main -w -debug -g -unittest --force std\algorithm.d
----
std\algorithm.d(9385): Error: 'std.algorithm.sort!("a > b", cast(SwapStrategy)0, int[]).sort' is not nothrow
std\algorithm.d(9388): Error: 'std.algorithm.sort!("a < b", cast(SwapStrategy)0, int[]).sort' is not nothrow
std\algorithm.d(9392): Error: 'std.algorithm.__unittestL9381_263.sort!(myComp, cast(SwapStrategy)0, int[]).sort' is not
nothrow
std\algorithm.d(9381): Error: function 'std.algorithm.__unittestL9381_263' is nothrow yet may throw
----
Either way it exposes that we're not running the test-suite with -debug.