https://issues.dlang.org/show_bug.cgi?id=22389

          Issue ID: 22389
           Summary: noreturn functions are allowed to return normally
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

The following code is accepted despite foo violating the contract of noreturn:

noreturn foo() {}

--

Reply via email to