[Issue 17256] New: Inconsistent output between json and ddoc
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 14 05:50:09 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17256
Issue ID: 17256
Summary: Inconsistent output between json and ddoc
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: yshuiv7 at gmail.com
Example:
struct A(bool b) {
version(D_Ddoc) {
/// Doc 1
void method1();
}
static if (b) {
/// Doc 2
void method2();
} else {
/// Doc 3
void method3();
}
}
method1 and method2 will be in the ddoc output, but none of them are in the
json output
--
More information about the Digitalmars-d-bugs
mailing list