[Issue 20839] [dwarf] inherited fields not shwon

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 18 14:28:09 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20839

--- Comment #1 from uplink.coder at googlemail.com ---
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.

--


More information about the Digitalmars-d-bugs mailing list