http://d.puremagic.com/issues/show_bug.cgi?id=9755

           Summary: JSON output is missing the protection attribute for
                    templates
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from S�nke Ludwig <[email protected]> 2013-03-19 00:22:56 
PDT ---
The following code snipped returns JSON output without the protection level of
the template or its member:

---
private struct Test(T) {}
---

JSON output (using "dmd -o- -Xfout.json", slightly reformatted):

[{
  "kind" : "module",
  "file" : "bug_template_json.d",
  "members" : [
   {
    "kind" : "template",
    "name" : "Test(T)",
    "line" : 1,
    "parameters" : [{"name" : "T", "kind" : "type"}],
    "members" : [
     {
      "name" : "Test",
      "kind" : "struct",
      "line" : 1,
      "members" : []
     }
    ]
   }
  ]
}]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to