Summary: Cannot deduce template function when using UFCS and
                    having a delegate(T) as first argument and an empty
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from meh. <> 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 does not match any function template
/tmp/lol.d(21): Error: template cannot deduce template function from
argument types !(B)(OMG,void)
/tmp/lol.d(33): Error: template instance lol!(B) errors instantiating template

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to