http://d.puremagic.com/issues/show_bug.cgi?id=8888
--- Comment #2 from [email protected] 2012-10-27 12:41:02 PDT --- This bug seems to happen only if you assign specific values to the enum. This works: void main() { enum Code : char { A, B, C } auto arr = [Code.A, Code.B]; } But this doesn't: void main() { enum Code { A=1, B=2, C=2 } auto arr = [Code.A, Code.B]; } So the bug isn't specific to char enums, it's just the presence of initializers that trigger it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
