mirror of https://github.com/astral-sh/ruff
Summary -- Detects duplicate type parameter names in function definitions, class definitions, and type alias statements. I also boxed the `type_params` field on `StmtTypeAlias` to make it easier to `match` with functions and classes. (That's the reason for the red-knot code owner review requests, sorry!) Test Plan -- New `ruff_python_syntax_errors` unit tests. Fixes #11119. |
||
|---|---|---|
| .. | ||
| snapshots | ||
| expression.rs | ||
| helpers.rs | ||
| mod.rs | ||
| options.rs | ||
| pattern.rs | ||
| progress.rs | ||
| recovery.rs | ||
| statement.rs | ||
| tests.rs | ||