https://issues.dlang.org/show_bug.cgi?id=14633
Issue ID: 14633
Summary: DDoc: false warnings for missing parameters on
template declaration
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
There are two cases where the ddoc compiler issues a warning for missing
parameters:
/** Blah
Params:
T = some type
test = something
*/
template case1(T)
{
void case1(R)(R test) { }
}
///ditto
alias case2 = case1!int;
In both cases `test` refers to the function parameter for the template function
`case1`. The ddoc compiler current looks for function parameters and template
parameters, but does not check the function parameters of a nested/eponymous
function template declaration.
--