D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 14778 - ddoc doesnt generate code for enum in template struct
Summary: ddoc doesnt generate code for enum in template struct
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 major
Assignee: No Owner
URL:
Keywords: ddoc, pull
Depends on:
Blocks:
 
Reported: 2015-07-07 04:14 UTC by Vlad Levenfeld
Modified: 2016-01-03 14:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Vlad Levenfeld 2015-07-07 04:14:03 UTC
main.d:

----------------

/**
   doc for X
*/
struct X {}

/**
   doc for Y 
*/
enum Y;

/**
    docs for Z
*/
struct Z (T)
{
    /**
        docs for W
    */
    enum W = 1.0;
}

-------------------

dmd -c -D -o- main.d
Comment 2 github-bugzilla 2015-10-18 17:28:55 UTC
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d24a3f8fa0864849d324b210796b92d22c938eae
fix Issue 14778 - ddoc doesnt generate code for enum in template struct

https://github.com/D-Programming-Language/dmd/commit/9f5c142f4696cac5e06c1a4b65b8de344401a126
Merge pull request #4802 from 9rnsr/fix14778

Issue 14778 - ddoc doesn't generate code for enum in template struct
Comment 3 github-bugzilla 2016-01-03 14:01:51 UTC
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d24a3f8fa0864849d324b210796b92d22c938eae
fix Issue 14778 - ddoc doesnt generate code for enum in template struct

https://github.com/D-Programming-Language/dmd/commit/9f5c142f4696cac5e06c1a4b65b8de344401a126
Merge pull request #4802 from 9rnsr/fix14778