www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9755] New: JSON output is missing the protection attribute for templates

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: sludwig outerproduct.org



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: -------
Mar 19 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9755


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |andrej.mitrovich gmail.com
         AssignedTo|nobody puremagic.com        |andrej.mitrovich gmail.com



11:08:21 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1768

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9755




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/214b0fdb26837a7ec0d79070c30d1a116cd571d1
Fixes Issue 9755 - Json template protection attribute output was wrong.

https://github.com/D-Programming-Language/dmd/commit/d9b68391db69b84cd37d1fcc6550ec943fc1fa32


Issue 9755 - Json template protection attribute output is wrong.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 19 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9755


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


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