[Issue 14965] Forward reference to inferred return type of function call when using auto return type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 26 12:38:20 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14965

timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch

--- Comment #1 from timon.gehr at gmx.ch ---
Minimal example:

auto foo(){ return foo(0); }
int foo(int x){ return x; }

(Also, the original post has a typo, I suspect main should do
writeln(test("a")).)

--


More information about the Digitalmars-d-bugs mailing list