Summary: "forward reference to <func>" message fix
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-03-21 11:36:33 PDT ---
auto fact(int n) { return n > 1 ? fact(n - 1) : 0; }

// Error: forward reference to fact

I think the error message could be improved... maybe something like 
"forward reference to inferred return type" like we get with templates?

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

Reply via email to