[Issue 9749] typeof(return) is sometimes disallowed for inner functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 19 11:26:29 PDT 2013


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



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-19 11:26:29 PDT ---
(In reply to comment #3)
> // ok, infer from return expression
> auto b(typeof(return) intVar)
> {
>     return 1;
> }

Actually that one might be a bit hard to implement. But the other one might be
worth doing.

-- 
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