Bug 17256 – Inconsistent output between json and ddoc
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-03-14T12:50:09Z
Last change time
2017-12-18T22:55:55Z
Assigned to
No Owner
Creator
Yuxuan Shui
Comments
Comment #0 by yshuiv7 — 2017-03-14T12:50:09Z
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
Comment #1 by github-bugzilla — 2017-10-30T17:05:19Z