[Issue 17379] Mangle voldemort types as if they are defined in the outer scope to avoid exponential symbol name length with templates

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 7 08:17:36 PDT 2017


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

Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de

--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> ---
Is this meant as a special rule "if the symbol has only a single identifier,
prepend the function name and signature"? This could work but only helps for
some cases. 

Otherwise it easily gets ambiguous and I'd rather see a special token for
"unspecified return type" that could be demangled as "auto".

See https://github.com/dlang/dmd/pull/5855 for a more generic approach.

--


More information about the Digitalmars-d-bugs mailing list