December 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7113

           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
        AssignedTo: nobody@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@dawgfoto.de 2011-12-15 06:18:21 PST ---
enum State
{
    A,
    B,
}

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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 08, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7113


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich@gmail.com
         Resolution|                            |WORKSFORME


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-08 15:53:16 PST ---
Fixed since 2.060

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