mirror of https://github.com/astral-sh/ruff
## Summary This PR makes explicit specialization of a type variable itself an error, and the result of the specialization is `Unknown`. The change also fixes https://github.com/astral-sh/ty/issues/1794. ## Test Plan mdtests updated new corpus test --------- Co-authored-by: Carl Meyer <carl@astral.sh> |
||
|---|---|---|
| .. | ||
| legacy | ||
| pep695 | ||
| builtins.md | ||
| scoping.md | ||
| specialize_constrained.md | ||