http://d.puremagic.com/issues/show_bug.cgi?id=10105
Summary: ICE when converting string literal to static char
array in enum initializer
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Martin Nowak <[email protected]> 2013-05-17 06:46:19 PDT ---
cat > bug.d << CODE
enum Foo : char[1]
{
a = "a",
}
CODE
dmd -c bug
----
The same declaration outside of an enum works as expected.
char[1] a = "a";
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------