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

           Summary: Cannot deduce template function when using UFCS and
                    having a delegate(T) as first argument and an empty
                    function.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: m...@paranoici.org


--- Comment #0 from meh. <m...@paranoici.org> 2012-05-21 02:14:45 PDT ---
Created an attachment (id=1108)
Reduced testcase

I'm getting this compilation error with the attached code.

/tmp/lol.d(33): Error: template lol.lol does not match any function template
declaration
/tmp/lol.d(21): Error: template lol.lol cannot deduce template function from
argument types !(B)(OMG,void)
/tmp/lol.d(33): Error: template instance lol!(B) errors instantiating template

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

Reply via email to