Bug 1767 – rejects-valid, diagnostic

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-01-02T22:26:00Z
Last change time
2015-06-09T01:14:22Z
Assigned to
bugzilla
Creator
davidl

Comments

Comment #0 by davidl — 2008-01-02T22:26:21Z
class DebugInfo { typedef int CVHeaderType ; enum anon:CVHeaderType{ CV_NONE, CV_DOS, CV_NT, CV_DBG } } Error: no property 'max' for type 'CVHeaderType' Error: no property 'max' for type 'CVHeaderType' testdmd.d(4): enum testdmd.DebugInfo.anon overflow of enum value cast(anon)cast(CVHeaderType)1 Error: no property 'max' for type 'CVHeaderType' error message doesn't give line number at first, and nonsensual. The code should be valid.
Comment #1 by bugzilla — 2008-02-16T06:06:06Z
Fixed dmd 1.026 and 2.010