[Issue 9479] New: _error_ in error message of type inference of a delegate literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 8 02:41:33 PST 2013


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

           Summary: _error_ in error message of type inference of a
                    delegate literal
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2013-02-08 02:41:29 PST ---
int delegate() bug9479()
{
  return { return something_undefined; };
}

bug.d(4): Error: undefined identifier something_undefined
bug.d(4): Error: mismatched function return type inference of _error_ and int

The second error message should be suppressed.

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


More information about the Digitalmars-d-bugs mailing list