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

2023-11-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24203

--- Comment #3 from elpenguin...@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.

--


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

2023-11-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24203

Nick Treleaven  changed:

   What|Removed |Added

 CC||n...@geany.org

--- Comment #2 from Nick Treleaven  ---
I think this warning is correct - why have a 'Params' section with no content?

--


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

2023-10-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24203

--- Comment #1 from elpenguin...@gmail.com ---
*** Issue 24204 has been marked as a duplicate of this issue. ***

--