[ty] Validate type variable defaults don't reference later type parameters or type parameters out of scope #23623
[ty] Reject PEP 695 type variable defaults that reference later type …
c39b1cd9
Make diagnostic messages more concise
756cc902
Shorten diagnostic message further
e22c402f
Avoid unnecessary collect() by cloning the iterator
53d1f86d
Check type variable default forward-references for legacy generics too
52e86f79
add snapshots
234f8f65
[ty] Detect typevar defaults referencing typevars not in the class's …
a3ec7985
[ty] Shorten diagnostic for typevar default referencing non-parameter…
c3cf4d3c
[ty] Use "out-of-scope" wording in typevar default diagnostic
2fff7fcb
[ty] Only annotate the bad-default typevar when referenced typevar is…
515c2d55
AlexWaygood
changed the title [ty] Validate type variable defaults don't reference later type parameters [ty] Validate type variable defaults don't reference later type parameters or type parameters out of scope 37 days ago
AlexWaygood
marked this pull request as ready for review 37 days ago
generalize
17528d36
Claude just really wants to `.collect()`, huh
3c0a8104
.
2e3852da
AlexWaygood
deleted the claude/fix-type-variable-ordering-LHT8Z branch 36 days ago
Labels
ty
ecosystem-analyzer
Login to write a write a comment.
Login via GitHub