[Issue 20029] New: Wrong MSVC mangling for const class template arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 5 05:27:31 UTC 2019


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

          Issue ID: 20029
           Summary: Wrong MSVC mangling for const class template arguments
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ilyayaroshenko at gmail.com

On Posix systems the mangling is correct.
MSVC mangling is not correct (it can't be parsed by demanglers).

-------------
module ee;

extern(C++):

class C {}

struct S(T) {}

void bar(S!(const C)) {}

pragma(msg, bar.mangleof);
-------------

--


More information about the Digitalmars-d-bugs mailing list