Summary: Throwing nothrow struct constructor?
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-05-25 13:56:47 PDT ---
This compiles with no errors:

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

DMD 2.060alpha gives at run-time:

object.Exception@test.d(3): something

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

Reply via email to