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

           Summary: ICE applying getProtection to a functions obtained
                    using getOverloads.
           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:32:48 PDT ---
struct Test24
{
    public void test24(int){}
    private void test24(int, int){}
}

//ICE:
static assert(__traits(getProtection, __traits(getOverloads, Test24,
"test24")[1]) == "private");

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

Reply via email to