ParamSpec doesn't work in generic type aliases #12736
Labels
bug
mypy got something wrong
topic-paramspec
PEP 612, ParamSpec, Concatenate
topic-type-alias
TypeAlias and other type alias issues
Bug Report
Generic type aliases where one of the free "type variables" is a
ParamSpec
don't work.To Reproduce
test.py
:mypy test.py
Expected Behavior
This should not raise any errors. A similar example. where both type variables are actual
TypeVars
, works:Actual Behavior
Output:
Your Environment
mypy.ini
(and other config files): noneThe text was updated successfully, but these errors were encountered: