Bug Report
from typing import Callable, Concatenate, TypeAlias
intfun: TypeAlias = Callable[Concatenate[int, ...], None] # ✘ Unexpected "..." [misc]
https://mypy-play.net/?mypy=master&python=3.11&gist=f4ba9e669549fae3b1a75e02af311db2
Expected Behavior
According to docs https://docs.python.org/3/library/typing.html#typing.Concatenate:
The last parameter to Concatenate must be a ParamSpec or ellipsis (...).
This change deviates from PEP 612 and was introduced in bpo-44791
Bug Report
https://mypy-play.net/?mypy=master&python=3.11&gist=f4ba9e669549fae3b1a75e02af311db2
Expected Behavior
According to docs https://docs.python.org/3/library/typing.html#typing.Concatenate:
This change deviates from PEP 612 and was introduced in bpo-44791