← Back to index
|
Original Bugzilla link
Bug 4178 – destructor missing in JSON output
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2010-05-12T08:08:00Z
Last change time
2013-01-20T10:05:50Z
Keywords
json
Assigned to
nobody
Creator
echochamber
Comments
Comment #0
by echochamber — 2010-05-12T08:08:05Z
Destructors are not in DMD's JSON output. Example: % cat -n foo.d 1 module foo; 2 3 class Foo { 4 this() {} 5 ~this() {} 6 } % dmd -X -c foo.d % cat foo.json [ { "name" : "foo", "kind" : "module", "file" : "foo.d", "members" : [ { "name" : "Foo", "kind" : "class", "line" : 3, "base" : "Object", "members" : [ { "name" : "this", "kind" : "constructor", "type" : "Foo()", "line" : 4} ] } ] } ] % Destructor in line 5 is not output. Tested with DMD 2.045 for Linux.
Comment #1
by ricochet1k — 2012-03-14T15:43:24Z
https://github.com/D-Programming-Language/dmd/pull/813
Comment #2
by bugzilla — 2013-01-20T02:46:33Z
https://github.com/D-Programming-Language/dmd/pull/1518
Comment #3
by github-bugzilla — 2013-01-20T04:47:49Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/9c2f0bb5475850df14a23a58134e570d21b75395
fix Issue 4178 - destructor missing in JSON output
https://github.com/D-Programming-Language/dmd/commit/dc43e3bb5fc8d830bfdbf0531b10bb7b19d78001
Merge pull request #1518 from WalterBright/b20 fix Issue 4178 - destructor missing in JSON output