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


Stewart Gordon <s...@iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic, spec
                 CC|                            |s...@iname.com


--- Comment #3 from Stewart Gordon <s...@iname.com> 2012-02-12 10:58:10 PST ---
http://www.d-programming-language.org/function.html
"If there are multiple ReturnStatements, the types of them must match exactly.
If there are no ReturnStatements, the return type is inferred to be void."

But it doesn't comment on whether this is meant to work.  But since it isn't a
forward reference, the error message doesn't make sense in any case.

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

Reply via email to