[Issue 16463] New: ddoc on string mixin does nothing
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Sep 2 04:02:33 PDT 2016
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: nobody at puremagic.com
Reporter: turkeyman at gmail.com
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...
--
More information about the Digitalmars-d-bugs
mailing list