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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 31 07:18:28 PDT 2015


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

--- Comment #6 from Lionello Lunesu <lio+bugzilla at lunesu.com> ---
(In reply to Kenji Hara from comment #4)
> Hmm, XT is not documented in the signatures, but others are appeared.

I see. You think it should warn for `XT` because it's not actually being used.
That's fair, but it's not related to the issue I'm fixing here.

> R and XR can be specified explicitly via the aliases case2 and case3.
> 
>     case2!string("a");     // R == string
>     case3!(int[])([1,2]);  // 
> 
> And more, currently documenting T in the following code is not warned.
> 
> /**
> Blah
> Params:
>   T = x
>   t = y
> */
> void foo(T)(T t) {}

I understand. I can easily add this.

--


More information about the Digitalmars-d-bugs mailing list