Summary: "cannot put catch statement inside finally block"
           Product: D
           Version: 1.030
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]

I get an error ("cannot put catch statement inside finally block") on the
following code:
module test;

extern(C) int printf(char*, ...);

void verify() {}

void main() {
    scope(success) {
            printf("Verification failed!\n");

(GDC allows this without complaining)

Also, this error doesn't print a source location.


Reply via email to