[Issue 14965] [REG2.031] Forward reference to inferred return type of function call when using auto return type
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 1 03:54:29 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14965
Vladimir Panteleev <thecybershadow at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thecybershadow at gmail.com
Summary|Forward reference to |[REG2.031] Forward
|inferred return type of |reference to inferred
|function call when using |return type of function
|auto return type |call when using auto return
| |type
--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to timon.gehr from comment #1)
> auto foo(){ return foo(0); }
> int foo(int x){ return x; }
This appears to be a regression (introduced in DMD 2.031).
--
More information about the Digitalmars-d-bugs
mailing list