digitalmars.D.bugs - [Issue 2456] New: "cannot put catch statement inside finally block"
- d-bugmail puremagic.com Nov 15 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2456 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: bugzilla digitalmars.com ReportedBy: fvbommel wxs.nl 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) { scope(failure) printf("Verification failed!\n"); verify(); } } ---- (GDC allows this without complaining) Also, this error doesn't print a source location. --
Nov 15 2008








d-bugmail puremagic.com