pyright should reject *Ts
as a type param in a TypeAliasType
definition
#7284
Labels
addressed in next version
Issue is fixed and will appear in next published version
enhancement request
New feature or request
It is not really called out in PEP 695 but it seems it should be rejected. Consider this example:
I noticed this while adding support to
TypeAliasType
in mypy python/mypy#16926 which in its current state rejectsAlias2
andAlias3
above while pyright only emits an error onAlias3
usage.versions:
pyright 1.1.350
python 3.11
The text was updated successfully, but these errors were encountered: