--- Comment #4 from Don <> 2010-10-22 17:23:09 PDT ---
For the initial test case, the error messages are:

test.d(17): Error: writefln is not nothrow
test0.d(13): Error: function test0.test 'test' is nothrow yet may throw

Another example:
import core.exception;

void foo() nothrow
    try {
    throw new Exception("xxx");        
    } catch(Exception e) {
    auto z = new int;
    throw e;
test.d(8): Error: 'new int' may throw OutOfMemoryError
test.d(9): Error: object.Exception is thrown but not caught
test.d(3): Error: function 'foo' is nothrow yet may throw

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to