[Issue 8985] Get default parameter value as alias
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sun Jun 25 03:20:35 PDT 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=8985
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3
                 CC|                            |dlang-bugzilla at 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 at 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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list