Thread overview
[Issue 17186] Type inference for parameters with default argument
Feb 15, 2017
Stefan Koch
Feb 15, 2017
Jacob Carlborg
Feb 15, 2017
Stefan Koch
Feb 15, 2017
greenify
Feb 15, 2017
Walter Bright
Nov 06, 2017
Nick Treleaven
Nov 08, 2017
ZombineDev
Dec 17, 2022
Iain Buclaw
May 18, 2023
RazvanN
February 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17186

Stefan Koch <uplink.coder@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uplink.coder@gmail.com

--- Comment #1 from Stefan Koch <uplink.coder@gmail.com> ---
a function signature is just that.
The signature of the function, allowing auto in the signature makes it
uninformative

--
February 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17186

--- Comment #2 from Jacob Carlborg <doob@me.com> ---
It's already allowed for the return type.

--
February 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17186

--- Comment #3 from Stefan Koch <uplink.coder@gmail.com> ---
(In reply to Jacob Carlborg from comment #2)
> It's already allowed for the return type.

Which already wrecks havoc when trying to generate headers.

--
February 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17186

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--
February 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17186

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |preapproved
                 CC|                            |bugzilla@digitalmars.com

--
November 06, 2017
https://issues.dlang.org/show_bug.cgi?id=17186

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #4 from Nick Treleaven <nick@geany.org> ---
There was a pull for this before:

https://github.com/dlang/dmd/pull/2270 https://issues.dlang.org/show_bug.cgi?id=10491

Now this is preapproved, it could be updated.

--
November 08, 2017
https://issues.dlang.org/show_bug.cgi?id=17186

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petar.p.kirov@gmail.com

--
January 28, 2018
https://issues.dlang.org/show_bug.cgi?id=17186

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--- Comment #5 from hsteoh@quickfur.ath.cx ---
Related:
https://issues.dlang.org/show_bug.cgi?id=17036
https://issues.dlang.org/show_bug.cgi?id=16467

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=17186

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
May 18, 2023
https://issues.dlang.org/show_bug.cgi?id=17186

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #6 from RazvanN <razvan.nitu1305@gmail.com> ---


*** This issue has been marked as a duplicate of issue 10491 ***

--