Comment #0 by bearophile_hugs — 2012-01-04T14:14:10Z
This function compiles with no errors with DMD 2.058head:
bool foo() {
throw new Exception("");
}
void main() nothrow
in {
assert(foo());
} body {}
but main() raises an exception (main() doesn't raise an exception in release mode).
I think this is a problem.
Comment #1 by robert.schadek — 2024-12-13T17:57:36Z