Bug 8789 – mangling of const member function

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-10-09T07:32:24Z
Last change time
2024-12-13T18:01:37Z
Keywords
bootcamp, mangling
Assigned to
No Owner
Creator
SHOO
Moved to GitHub: dmd#18473 →

Comments

Comment #0 by zan77137 — 2012-10-09T07:32:24Z
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"
Comment #1 by robert.schadek — 2024-12-13T18:01:37Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18473 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB