Summary: mangling of const member function
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from SHOO <> 2012-10-09 07:32:24 PDT ---
Document of mangling for const member function is not completed.
Now, TypeFunction of ABI doesn't consider the const/immutable/shared/inout

    CallConvention FuncAttrs Arguments ArgClose Type

These mangling schemes don't include const/immutable/shared/inout attributes.

If const/immutable/shared/inout attributes are contained in FuncAttrs,
following mangling is wrong:
class A
    void func() const {}
pragma(msg, typeof(A.func).mangleof); // xFZv
typeof(A.func).mangleof must be "FxZv"

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to