[Issue 14591] [SPEC] Ambiguity between extern(Pascal) and template value parameters

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 12 15:45:23 PDT 2017


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

--- Comment #7 from Rainer Schuetze <r.sagitario at gmx.de> ---
There is also an accuracy in the grammar still. The actual implementation for
TemplateArgX is

TemplateArgX:
    'T' Type
  | 'V' Type Value
  | 'S' Number QualifiedName
  | 'S' Number MangledName
  ;

where Number is the length of the full name.
MangledName includes C,C++ and pragma(mangle) manglings.
Number QualifiedName causes two concatenated Numbers, Issue 3043.

--


More information about the Digitalmars-d-bugs mailing list