Skip to content
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

Restore Type vs Callable special-casing that was broken in refactoring #13784

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

ilevkivskyi
Copy link
Member

Fixes #13756

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

starlette (https://github.com/encode/starlette)
- starlette/config.py:87: error: Overloaded function signature 5 will never be matched: signature 4's parameter type(s) are the same or broader  [misc]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ambiguity on using union of type[generic type] and callable in mypy==0.981
2 participants