[Issue 15349] DDoc: comments on function templates are skipped for templates without doc comment
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 30 17:00:43 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=15349
John Hall <john.michael.hall at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |john.michael.hall at gmail.com
--- Comment #1 from John Hall <john.michael.hall at gmail.com> ---
I have a related issue with the code below. When I compile this, I get the
first one, but not the second one. Further, the top line foo(f...) does not
show up, only T foo(f...)(T x).
/++
Some foo template
+/
template foo(f...)
{
/++
Foo here
+/
T foo(T x)
{
return f(x) + 1;
}
/++
Alternate Foo here
+/
T foo(T x, T y)
{
return f(x, y) + 1;
}
}
--
More information about the Digitalmars-d-bugs
mailing list