What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from 2012-09-24 09:50:47 PDT ---
Now compiling this code:

struct Foo {
    this(int) nothrow { // line 2
        throw new Exception("something");
void main() {

It gives:

temp.d(3): Error: object.Exception is thrown but not caught
temp.d(2): Warning: statement is not reachable
temp.d(2): Error: constructor temp.Foo.this 'this' is nothrow yet may throw

What's the statement not not reachable at line 2?

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

Reply via email to