Bug 9329 – unexpected 'int' in error message

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-01-16T17:47:30Z
Last change time
2020-05-09T12:36:21Z
Keywords
diagnostic
Assigned to
No Owner
Creator
kekeniro2

Comments

Comment #0 by kekeniro2 — 2013-01-16T17:47:30Z
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.