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> |
||
|---|---|---|
| .. | ||
| corpus | ||
| mdtest | ||
| primer | ||
| README.md | ||
README.md
Markdown files within the mdtest/ subdirectory are tests of type inference and type checking;
executed by the tests/mdtest.rs integration test.
See crates/ty_test/README.md for documentation of this test format.