[Issue 11815] New: JSON output of Template members has no protection information
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 25 00:20:10 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11815
Summary: JSON output of Template members has no protection
information
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: gaboonviper at gmx.net
--- Comment #0 from Boyd <gaboonviper at gmx.net> 2013-12-25 00:20:09 PST ---
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
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list