Bug 7003 – no tuple expansion for c++ mangling

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2011-11-24T15:54:00Z
Last change time
2012-11-12T12:32:39Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2011-11-24T15:54:34Z
extern(C++) void foo(Args...)(Args args) { } alias foo!() foov; // is:_ZN10__T3fooTiZ3fooEu3B1i should be:_ZN10__T3fooTiZ3fooEi alias foo!(int) fooi; // is:_ZN8__T3fooZ3fooEu2B0 should be:_ZN8__T3fooZ3fooEv --- Argument tuples are not expanded and are outputted by Type::toCppMangle as vendor extension.
Comment #1 by code — 2011-11-25T08:23:44Z
Actually the template should not appear in the name mangling. Until http://d.puremagic.com/issues/show_bug.cgi?id=7005 is fixed it makes no sense to fix this Bug.
Comment #2 by bugzilla — 2012-11-12T12:32:39Z