https://issues.dlang.org/show_bug.cgi?id=16463
Issue ID: 16463
Summary: ddoc on string mixin does nothing
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
I have code to the effect of this:
/** My struct */
struct S
{
/** Documentation. */
mixin("int x;");
mixin("/** Documentation */ int y;");
}
Documentation for the struct S doesn't list the members 'x', or 'y'.
I think both should work as expected.
If you're synthesizing a member, there's a good change you want to synthesize
the documentation too...
--