January 17, 2013 [Issue 9329] New: unexpected 'int' in error message | ||||
---|---|---|---|---|
| ||||
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@puremagic.com ReportedBy: kekeniro2@yahoo.co.jp --- Comment #0 from kekeniro2@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: ------- |
Copyright © 1999-2021 by the D Language Foundation