[Issue 22934] New: Header generator emits context pointer as `this`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 25 15:05:00 UTC 2022
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 at puremagic.com
Reporter: moonlightsentinel at 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;
};
};
--
More information about the Digitalmars-d-bugs
mailing list