Thread overview
[Issue 20839] [dwarf] inherited fields not shwon
May 18, 2020
Mathias LANG
Jun 06, 2020
Mathias LANG
May 18, 2020
https://issues.dlang.org/show_bug.cgi?id=20839

--- Comment #1 from uplink.coder@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.

--
May 18, 2020
https://issues.dlang.org/show_bug.cgi?id=20839

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang@gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #2 from Mathias LANG <pro.mathias.lang@gmail.com> ---
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 ***

--
June 06, 2020
https://issues.dlang.org/show_bug.cgi?id=20839

uplink.coder@googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---
           Severity|major                       |critical

--
June 06, 2020
https://issues.dlang.org/show_bug.cgi?id=20839

--- Comment #3 from uplink.coder@googlemail.com ---
*** Issue 15631 has been marked as a duplicate of this issue. ***

--
June 06, 2020
https://issues.dlang.org/show_bug.cgi?id=20839

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Mathias LANG <pro.mathias.lang@gmail.com> ---
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 ***

--