January 11, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11905

           Summary: Can't make enum of custom struct types autoincrement
                    working
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: czdanol@gmail.com


--- Comment #0 from Daniel Čejchan <czdanol@gmail.com> 2014-01-11 12:28:35 PST ---
http://pastebin.com/cnKy8LGK

Such thing causes "Error: no property 'max' for type 'enumf!ushort'" error (no
error line or anything).
I have tried implementing my own max using enum, static immutable variable,
@property function and static @property function, either one does not work
(throws "Error: no property 'max' for type 'enumf!ushort', did you mean
'max'?").

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 11, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11905



--- Comment #1 from Daniel Čejchan <czdanol@gmail.com> 2014-01-11 14:57:42 PST ---
CyberShadow has made a patch that should fix this: http://dump.thecybershadow.net/88e4ac8353cebe100f9379da688829e0/opt-max-check.patch

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------