Bug 24443 – Substitution failure for nested/member functions on POSIX systems

Status
NEW
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2024-03-20T16:31:20Z
Last change time
2024-12-13T19:33:55Z
Assigned to
No Owner
Creator
Emmanuel Nyarko
Moved to GitHub: dmd#20418 →

Comments

Comment #0 by emmankoko519 — 2024-03-20T16:31:20Z
this assertion fails as the parameter fails to substitute extern (C++) struct A(T) { } extern(C++) struct B(T) { } extern (C++) struct G(key, value = A!(const(key)), alloc = B!(const(key))) { void foo(ref const(key)); } void main() { int a; assert(G!(int).foo.mangleof == "_ZN1GIi1AIKiE1BIS1_EE3fooERS1_"); } D's mangling: _ZN1GIi1AIKiE1BIS1_EE3fooERKi
Comment #1 by robert.schadek — 2024-12-13T19:33:55Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20418 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB