http://d.puremagic.com/issues/show_bug.cgi?id=6889
Summary: "finally" mentioned in a compilation error, instead of
"scope(exit)" or "scope(success)"
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Ali Cehreli <[email protected]> 2011-11-03 14:34:53 PDT ---
The error message mentions "finally", instead of "scope(exit)":
deneme.d(53539): Error: cannot put catch statement inside finally block
The program to reproduce with dmd 2.056:
void main()
{
scope(exit) try {} catch {}
}
Note that it is the same with scope(success).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------