[Issue 12657] New: Regression (2.065): Running Phobos test-suite with -debug fails

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Apr 26 12:22:36 PDT 2014


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

          Issue ID: 12657
           Summary: Regression (2.065): Running Phobos test-suite with
                    -debug fails
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: andrej.mitrovich at gmail.com

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.

--


More information about the Digitalmars-d-bugs mailing list