digitalmars.D.bugs - [Issue 13277] New: The base class in the JSON output is always
- via Digitalmars-d-bugs (26/26) Aug 10 2014 https://issues.dlang.org/show_bug.cgi?id=13277
https://issues.dlang.org/show_bug.cgi?id=13277 Issue ID: 13277 Summary: The base class in the JSON output is always unqualified Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: blah38621 gmail.com Currently in the JSON DMD produces, the "base" property of a "class" node is always the unqualified name of the base class. This means that, in order to determine what class that property is actually referencing, you have to determine what modules are imported at the location the class is declared, as well as have access to a JSON file generated for those modules, and then search those imported modules, dealing with selective imports, alias imports, and public imports as well. This is way more work that should be needed. I instead propose that the "base" property should contain the qualified name of the base class, which would require much less work to resolve, as it would be possible to resolve that name in a direct top-down approach rather than a very indirect inside out approach. --
Aug 10 2014