digitalmars.D.bugs - [Issue 22934] New: Header generator emits context pointer as `this`
- d-bugmail puremagic.com (35/35) Mar 25 2022 https://issues.dlang.org/show_bug.cgi?id=22934
https://issues.dlang.org/show_bug.cgi?id=22934 Issue ID: 22934 Summary: Header generator emits context pointer as `this` Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: moonlightsentinel disroot.org The header generator prints the name of the implicitly generated member that represents the context pointer as `this` which is obviously not a valid identifier. e.g. --- example.d extern(C++) class Outer { class Inner { } } --- example.h class Outer { public: class Inner { public: Outer* outer; }; }; --
Mar 25 2022