http://d.puremagic.com/issues/show_bug.cgi?id=8789
Summary: mangling of const member function Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: zan77...@nifty.com --- Comment #0 from SHOO <zan77...@nifty.com> 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 attributes. TypeFunction: 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------