Thread overview
[Issue 7212] New: Regression(Head): ICE with overload resolution and delegate/function inference
Jan 03, 2012
dawg@dawgfoto.de
Jan 04, 2012
Kenji Hara
Jan 05, 2012
Walter Bright
January 03, 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@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@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: -------
January 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7212


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code, patch


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-01-03 21:14:07 PST ---
https://github.com/D-Programming-Language/dmd/pull/604

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 05, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7212


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2012-01-05 14:52:18 PST ---
https://github.com/D-Programming-Language/dmd/commit/34bdd686d1cf949bf72dc46520da07d5ce6e06ed

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