Bug 19043 – Incorrect mangling for extern(C++) const template parameter on windows
Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2018-06-30T11:01:25Z
Last change time
2018-07-03T02:26:40Z
Assigned to
No Owner
Creator
Nicholas Wilson
Comments
Comment #0 by iamthewilsonator — 2018-06-30T11:01:25Z
struct __dslice(T) {}
extern(C++) void test18716c(__dslice!(const(char)));
is mangled as
?test18716b@@YAXU?$__dslice@D@@@Z
instead of
?test18716c@@YAXU?$__dslice@$$CBD@@@Z
which is the mangling for
extern(C++) void test18716c(__dslice!(char));
This is a blocker for the fix for issue 18716
Comment #1 by github-bugzilla — 2018-07-03T02:26:39Z