www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3440] New: invalid -X JSON output, a comma is missing

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3440

           Summary: invalid -X JSON output, a comma is missing
           Product: D
           Version: 2.035
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: echochamber gmail.com


--- Comment #0 from MIURA Masahiro <echochamber gmail.com> 2009-10-25 20:34:50
PDT ---
% cat foo.d
module foo;

private {
    int i;
    typedef int[int] MyAA;
}
% dmd -X -c foo.d
% cat -n foo.json
     1  {
     2  "name" : "foo",
     3  "kind" : "module",
     4  "file" : "foo.d",
     5  "members" : [
     6  {
     7  "name" : "i",
     8  "kind" : "variable",
     9  "type" : "int",
    10  "line" : 4}
    11  {
    12  "name" : "MyAA",
    13  "kind" : "typedef",
    14  "type" : "MyAA",
    15  "line" : 5,
    16  "base" : "int[int]"}
    17  ]
    18  }
%

There should be a comma between lines 10 and 11.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 25 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3440


Ary Borenszweig <ary esperanto.org.ar> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ary esperanto.org.ar
         Resolution|                            |DUPLICATE


--- Comment #1 from Ary Borenszweig <ary esperanto.org.ar> 2009-10-26 01:01:09
PDT ---
Please always search bugs before creating new ones. :-)

*** This issue has been marked as a duplicate of issue 3415 ***

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