http://d.puremagic.com/issues/show_bug.cgi?id=9329
Summary: unexpected 'int' in error message
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Keywords: diagnostic
Severity: minor
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2013-01-16 17:47:30 PST ---
This problem is a trivial unless it causes any other worse.
class Dummy {
invariant() const { } // wrong 'const'
}
This code gets some error messages,
including an unexpected one: "Error: no identifier for declarator int".
Where 'int' comes from?
It shows that an uninitialized value is exposed, I suspect.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------