[Issue 11905] New: Can't make enum of custom struct types autoincrement working
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 11 12:28:38 PST 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 at puremagic.com
ReportedBy: czdanol at gmail.com
--- Comment #0 from Daniel Čejchan <czdanol at 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: -------
More information about the Digitalmars-d-bugs
mailing list