In the following example:
class Base
{
int x = 12;
}
class Child : Base
{
int y = 34;
}
void main()
{
Base b = new Base();
Child c = new Child();
int break_here = 1;
}
the child class `Child` does not have a member `x` according to debuginfo
This is because a `DW_TAG_inheritance` is missing.
Comment #2 by pro.mathias.lang — 2020-05-18T15:01:55Z
Reported this a few years ago too. The best solution for me ended up using LDC tho ;)
*** This issue has been marked as a duplicate of issue 15631 ***
Comment #3 by uplink.coder — 2020-06-06T13:47:43Z
*** Issue 15631 has been marked as a duplicate of this issue. ***
Comment #4 by pro.mathias.lang — 2020-06-06T16:23:48Z
Re-marking as duplicate. I explained in the other issue the rationale for this (mainly, having an OP with an actual test case).
*** This issue has been marked as a duplicate of issue 15631 ***