← Back to index
|
Original Bugzilla link
Bug 24204 – Params section in ddoc comments causes warnings with unnamed parameters
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-10-28T01:02:06Z
Last change time
2023-10-28T01:03:51Z
Keywords
ddoc, diagnostic
Assigned to
No Owner
Creator
elpenguino+D
Comments
Comment #0
by elpenguino+D — 2023-10-28T01:02:06Z
Compile with `-D -w`: ``` /// Params: void foo(int) {} ``` In DMD 2.105.2, this produces a warning: `Warning: Ddoc: parameter count mismatch, expected 1, got 0` Unnamed parameters should be ignored.
Comment #1
by elpenguino+D — 2023-10-28T01:03:51Z
*** This issue has been marked as a duplicate of issue 24203 ***