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

           Summary: allMembers trait doesn't returns members of nested
                    anonymous enum
           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 Igor Stepanov <[email protected]> 2013-04-16 
13:17:24 PDT ---
struct Test25
{
    int f;
    enum /*Anonymous enum*/
    {
        A,
        B
    }
}

//Fail, only "f" have been returned.
static assert([__traits(allMembers, Test25)] == ["f", "A", "B"]);

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

Reply via email to