[Issue 14633] DDoc: false warnings for missing parameters on template declaration

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 31 05:55:20 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14633

--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
I think the enhancement implementation should support this a little more
exhaustive test case.

/** Blah
 Params:
    T  = The warning for this documentation should be suppressed
    R  = The warning for this documentation should be suppressed
    r  = The warning for this documentation should be suppressed
    XT = This documentation should be warned
    XR = This documentation should be warned
    xr = This documentation should be warned
*/
template case1(T)
{
    void case1(R)(R r) { }
}

/// ditto
alias case2 = case1!int;

/// ditto
alias case3 = unrelated!int;

template unrelated(XT)
{
    void unrelated(XR)(XR xr) {}
}

--


More information about the Digitalmars-d-bugs mailing list