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

Fixed a bug in type narrowing for pattern matching in the negative (f… #5499

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

erictraut
Copy link
Collaborator

…all-through) case when the subject type contains an Any. This addresses #5492.

…all-through) case when the subject type contains an `Any`. This addresses #5492.
@github-actions
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@erictraut erictraut merged commit 6236155 into main Jul 14, 2023
11 checks passed
@erictraut erictraut deleted the issue5492 branch July 14, 2023 04:53
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.

2 participants