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: [email protected]
Reporter: [email protected]
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;
};
};
--