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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Don <[email protected]> 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: -------