[Issue 15631] gdb: Parent's scope not considered for symbol lookup

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 6 16:22:57 UTC 2020


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

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

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

--- Comment #4 from Mathias LANG <pro.mathias.lang at gmail.com> ---
No it does not.

It has a vague description, and no test case. The description focuses on what's
in the debug info rather than the actual issue(s). If you want to add
informations about why we're seeing this, add a comment here, but I'd rather we
do not close issues with test case for the benefit of one without.

For reference, the information added is:
> the child class `Child` does not have a member `x` according to debuginfo
> This is because a `DW_TAG_inheritance` is missing.

In this issue, `Derivative` was used instead of `Child`, and `value` instead of
`x`.

--


More information about the Digitalmars-d-bugs mailing list