[Issue 24203] Params section in ddoc comments causes warnings with unnamed parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 20 14:35:14 UTC 2023


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

--- Comment #3 from elpenguino+D at gmail.com ---
(In reply to Nick Treleaven from comment #2)
> I think this warning is correct - why have a 'Params' section with no
> content?

There is no warning for an empty Params section. This warning is produced for
```
/// Params:
/// a = b
void foo(int a, int) {}
```
But it is not produced for
```
/// Params:
void foo() {}
```
The example was just the simplest reproduction I could come up with.

--


More information about the Digitalmars-d-bugs mailing list