www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: wazar.leollone yahoo.com



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: -------
Apr 16 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9940


Martin Nowak <code dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |code dawg.eu
         Resolution|                            |FIXED



https://github.com/D-Programming-Language/dmd/pull/1724
https://github.com/IgorStepanov/dmd/commit/6669150ab877d4d428425aa368709d649d5a382e

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