January 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1767

           Summary: rejects-valid, diagnostic
           Product: D
           Version: 2.008
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: davidl@126.com


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.


-- 

February 16, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1767


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla@digitalmars.com  2008-02-16 06:06 -------
Fixed dmd 1.026 and 2.010


--