[Issue 9940] New: ICE applying getProtection to a functions obtained using getOverloads.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 16 13:32:49 PDT 2013


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: nobody at puremagic.com
        ReportedBy: wazar.leollone at yahoo.com


--- Comment #0 from Igor Stepanov <wazar.leollone at yahoo.com> 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: -------


More information about the Digitalmars-d-bugs mailing list