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.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18396 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB