dmd 1.059 and 2.044 release
bearophile
bearophileHUGS at lycos.com
Sun May 2 18:44:39 PDT 2010
2.044 seems to work after some tests of mine.
>Many small improvements to error diagnostics and recovery<
I'd like to see few examples of the difference.
>Now all unittests are run, even if some fail<
I have tried to compile this with -unittest :
int sqr(int x) { return x * 2; }
unittest {
assert(sqr(10) == 100);
}
unittest {
assert(sqr(5) == 25);
}
void main() {}
It contains two wrong unit tests, but dmd prints just about the first one, maybe I am missing something:
test(3): unittest failure
core.exception.AssertError at test(3): unittest failure
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list