-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash Applying Generic Arguments #17212
Labels
Comments
ilevkivskyi
added a commit
that referenced
this issue
Jun 10, 2024
Fixes #17212 Note I removed the problematic asset after all. It is hard to maintain it, since this function may be called from both explicit application, and from type inference code paths. And these two cases may have different min/max type argument count (see tests and comments for examples).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Crash Report
MyPy crashes when using type var tuple with multiple generic args in overload
Traceback
To Reproduce
(I have commented out some lines which are unnecessary to reproduce the crash).
Create a
tmp.py
and runmypy tmp.py
:Your Environment
Mypy config from pyproject.toml:
Mypy version (also fails on most recent released version):
The text was updated successfully, but these errors were encountered: