[Issue 9552] New: DMD crashed when taking member delegate from __traits(getOverloads)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 20 08:47:18 PST 2013


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

           Summary: DMD crashed when taking member delegate from
                    __traits(getOverloads)
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: gor.f.gyolchanyan at gmail.com


--- Comment #0 from Gor Gyolchanyan <gor.f.gyolchanyan at gmail.com> 2013-02-20 08:47:17 PST ---
class Test
{
    void f() { }
}

void main()
{
    auto test = new Test;
    auto method = &(__traits(getOverloads, test, "f")[0]); // DMD crashes
}

-- 
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