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

--- Comment #6 from Lionello Lunesu <[email protected]> ---
(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.

--

Reply via email to