Summary: Final switch does not work with shared enum value
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-12-15 06:18:21 PST ---
enum State

shared State state;

void main()
    final switch (state)
    case State.A: break;
    case State.B: break;
bug.d(11): Error: enum member A not represented in final switch
bug.d(11): Error: enum member B not represented in final switch

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to