http://d.puremagic.com/issues/show_bug.cgi?id=10505

           Summary: anonymous enum members cannot have different types
           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 Henning Pohl <[email protected]> 2013-06-29 12:07:18 
PDT ---
enum {
    a = true,
    b = 10.0f
}

---
main.d(3): Error: cannot implicitly convert expression (10.0000) of type float
to bool
---

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to