[Issue 9329] New: unexpected 'int' in error message
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 16 17:47:31 PST 2013
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: nobody at puremagic.com
ReportedBy: kekeniro2 at yahoo.co.jp
--- Comment #0 from kekeniro2 at yahoo.co.jp 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: -------
More information about the Digitalmars-d-bugs
mailing list