[Issue 14898] New: Json output does not list extern(C++, namespace) functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 10 04:10:45 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14898

          Issue ID: 14898
           Summary: Json output does not list extern(C++, namespace)
                    functions
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: json
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: k.hara.pg at gmail.com

Test case:

module test;
extern(C++) void foo() {}
extern(C++, ns) void bar() {}


Generated test.json:

[
 {
  "name" : "test",
  "kind" : "module",
  "file" : "test.d",
  "members" : [
   {
    "name" : "foo",
    "kind" : "function",
    "line" : 2,
    "char" : 18,
    "deco" : "RZv",
    "endline" : 2,
    "endchar" : 25
   }
  ]
 }
]

--


More information about the Digitalmars-d-bugs mailing list