www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18890] New: extern(C++) mangles all destructors the same

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

          Issue ID: 18890
           Summary: extern(C++) mangles all destructors the same
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

When a class has __dtor and __xdtor, only __xdtor should be mangled
extern(C++). Currently all DtorDeclaration's are mangled the same, which is
bad.

--
May 20 2018