[Issue 1816] Parameter names not visible in return type in function declarations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 19 11:48:36 UTC 2017


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

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |simen.kjaras at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #3 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
While the issue described here still exists, the modern-day equivalent of the
give code would use auto, and any complex typeof() expressions would almost
certainly need to be repeated inside the function body in any case, where the
parameter is available.

Closing this. If there are compelling use cases, reopen it with example code.

--


More information about the Digitalmars-d-bugs mailing list