Thread overview
[Issue 8985] Get default parameter value as alias
Jun 25, 2017
Vladimir Panteleev
Mar 23, 2018
Manu
Dec 17, 2022
Iain Buclaw
June 25, 2017
https://issues.dlang.org/show_bug.cgi?id=8985

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3
                 CC|                            |dlang-bugzilla@thecybershad
                   |                            |ow.net
            Summary|__parameters tuple string   |Get default parameter value
                   |strips off the scope of     |as alias
                   |default args                |
           Severity|normal                      |enhancement

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
The problem is not with __parameters, which works as expected. __parameters is not a tuple string, it rather seems to be a tuple of types with default values attached to them.

If there was a way to get said default value as an alias, then it would then be possible to pass it to fullyQualifiedName to achieve your desired goal.

--
March 23, 2018
https://issues.dlang.org/show_bug.cgi?id=8985

Manu <turkeyman@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

--