http://d.puremagic.com/issues/show_bug.cgi?id=7269
Summary: Named string enum cannot compile with -g
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from simendsjo <[email protected]> 2012-01-10 23:11:52 PST ---
enum E : string {
A = "a"
}
void main() {}
dmd -g
err.d(2): Error: Integer constant expression expected instead of "a"
err.d(2): Error: Integer constant expression expected instead of "a"
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------