http://d.puremagic.com/issues/show_bug.cgi?id=11101
Summary: Invalid enum member overflow message
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Walter Bright <[email protected]> 2013-09-22
10:43:17 PDT ---
public enum GTokenType
{
NONE,
}
public enum GtkRcTokenType
{
INVALID = GTokenType.NONE,
INCLUDE,
}
causes:
test.d(9): Error: enum member test.GtkRcTokenType.INCLUDE initialization with
(cast(GtkRcTokenType)cast(GTokenType)0 + 1) causes overflow
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------