Bug 9573 – Spurious _error_ in diagnostic

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-02-22T11:56:00Z
Last change time
2013-02-22T12:22:45Z
Keywords
diagnostic
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2013-02-22T11:56:29Z
void main() { alias int[1000000000] T; pragma(msg, T); } $ dmd test.d > test.d(5): Error: index 1000000000 overflow for static array > _error_ The "_error_" part should not appear.
Comment #1 by andrej.mitrovich — 2013-02-22T12:22:45Z
Wait this is invalid, pragma is printing the type that's where _error_ comes from.