Bug 11815 – JSON output of Template members has no protection information

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2013-12-25T00:20:09Z
Last change time
2024-12-13T18:15:24Z
Assigned to
No Owner
Creator
Boyd
Moved to GitHub: dmd#18743 →

Comments

Comment #0 by gaboonviper — 2013-12-25T00:20:09Z
The following code snipped returns JSON output without the protection level of its member: --- struct NoMemberProtection(T) { private string NoProtection; } --- JSON Output: { "kind" : "template", "line" : 3, "name" : "NoMemberProtection", "parameters" : [ { "name" : "T", "kind" : "type" } ], "members" : [ { "name" : "NoMemberProtection", "kind" : "struct", "line" : 3, "members" : [ { "name" : "NoProtection", "kind" : "variable", "line" : 5, "type" : "string" } ] } ] } This bug seems similar to bug 9755
Comment #1 by andrej.mitrovich — 2014-04-28T21:56:12Z
Similar to various ddoc bugs that don't have enough info due to semantic() not being run.
Comment #2 by robert.schadek — 2024-12-13T18:15:24Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18743 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB