[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:40:20 PDT 2015


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

--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Lionello Lunesu from comment #6)
> 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.

Finally I think for the example in comment#2:
- T, R, r, XR, and xr can be documented without warning
- and XT should be warned.

Warning for XT is related to the issue you're fixing. you're trying to handle
the case 2, and in there you should not change the current warning for XT.

>> void foo(T)(T t) {}
>
> I understand. I can easily add this.

Do you mean that T should be warned? I cannot agree with that.

--


More information about the Digitalmars-d-bugs mailing list