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


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


--- Comment #1 from Martin Nowak <code dawg.eu> 2013-05-17 09:16:25 PDT ---
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