www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14566] New: [2.067] core.demangle: New Nj attribute not handled

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

          Issue ID: 14566
           Summary: [2.067] core.demangle: New Nj attribute not handled
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

With this code:

---
module demangle
struct test { this(this) { } }
---

In 2.066, the frontend mangling ABI would emit an opAssign as follows:

_D8demangle4test8opAssignMFNcS8demangle4testZS8demangle4test


In 2.067, the frontend now pushes out the following mangled symbol:

_D8demangle4test8opAssignMFNaNbNcNiNjNfS8demangle4testZS8demangle4test

Which, due to the introduction of "Nj" for the STCreturn storage (which is for
internal purposes only as far as I can tell), core.demangle is no longer able
to demangle it.

--
May 10 2015