[Issue 7212] New: Regression(Head): ICE with overload resolution and delegate/function inference

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 3 12:11:00 PST 2012


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

           Summary: Regression(Head): ICE with overload resolution and
                    delegate/function inference
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dawg at dawgfoto.de


--- Comment #0 from dawg at dawgfoto.de 2012-01-03 12:10:57 PST ---
void remove(scope bool delegate(ref int) dg)
{
    int a;
    dg(a);
}

void remove(int value)
{
}

void main()
{
    remove((ref int val) => !!val);
}

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