% 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.
Please always search bugs before creating new ones. :-) *** This issue has been marked as a duplicate of issue 3415 ***