Bug 16463 – ddoc on string mixin does nothing

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-09-02T11:02:00Z
Last change time
2016-09-04T17:22:47Z
Assigned to
nobody
Creator
turkeyman

Comments

Comment #0 by turkeyman — 2016-09-02T11:02:33Z
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...
Comment #1 by andrej.mitrovich — 2016-09-04T17:22:47Z
*** This issue has been marked as a duplicate of issue 2420 ***