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.
Introduced in https://github.com/D-Programming-Language/dmd/pull/4637
Thanks Vladimir. To think that this could have been used to push dlang.org...
https://github.com/D-Programming-Language/dmd/pull/4660
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
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