Issue 14594 - [REG2.068a] DDoc for template functions and structs has disappeared
Summary: [REG2.068a] DDoc for template functions and structs has disappeared
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 All
: P1 regression
Assignee: No Owner
URL:
Keywords: ddoc, pull
Depends on:
Blocks:
 
Reported: 2015-05-17 00:06 UTC by Andrei Alexandrescu
Modified: 2015-06-17 21:05 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Andrei Alexandrescu 2015-05-17 00:06:13 UTC
Simplest test:

/**
test
*/
void fun()()
{

}

///
unittest
{
    fun();
}

This does not generate in the documentation the unittest code. Removing one set of parens from fun makes the code appear in the documentation.
Comment 1 Vladimir Panteleev 2015-05-17 00:16:36 UTC
Introduced in https://github.com/D-Programming-Language/dmd/pull/4637
Comment 2 Andrei Alexandrescu 2015-05-17 01:22:41 UTC
Thanks Vladimir. To think that this could have been used to push dlang.org...
Comment 4 github-bugzilla 2015-05-17 05:29:12 UTC
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b65066ff0713a268e8d90942caec6532f77d96c9
fix Issue 14594 - DDoc for template functions and structs has disappeared

https://github.com/D-Programming-Language/dmd/commit/191fee605d7a02fb64dcf5e6c2fae20b5d1fac7f
Merge pull request #4660 from 9rnsr/fix14594

[REG2.068a] Issue 14594 - DDoc for template functions and structs has disappeared
Comment 5 github-bugzilla 2015-06-17 21:05:13 UTC
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b65066ff0713a268e8d90942caec6532f77d96c9
fix Issue 14594 - DDoc for template functions and structs has disappeared

https://github.com/D-Programming-Language/dmd/commit/191fee605d7a02fb64dcf5e6c2fae20b5d1fac7f
Merge pull request #4660 from 9rnsr/fix14594