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

Vladimir Panteleev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            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 <[email protected]> ---
(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).

--

Reply via email to