Summary: Automatic deduction of anonymous delegate signatures
           Product: D
           Version: 2.034
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Pelle M´┐Żnsson <> 2009-10-21 05:19:54 
PDT ---
Anonymous delegates cannot use automatic type deduction. For example:

int f(int delegate(int) g) {
    return g(13);
void main() {
    f((auto x) { return x+13; });

This fails to compile. Omitting the 'auto' also fails to compile.

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

Reply via email to