October 28, 2023 [Issue 24204] New: Params section in ddoc comments causes warnings with unnamed parameters | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24204 Issue ID: 24204 Summary: Params section in ddoc comments causes warnings with unnamed parameters Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ddoc, diagnostic Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: elpenguino+D@gmail.com 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. -- |
Copyright © 1999-2021 by the D Language Foundation