[Issue 4178] New: destructor missing in JSON output
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 12 08:08:07 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4178
Summary: destructor missing in JSON output
Product: D
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: echochamber at gmail.com
--- Comment #0 from MIURA Masahiro <echochamber at gmail.com> 2010-05-12 08:08:05 PDT ---
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.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list