Closed shenyih0ng closed 2 weeks ago
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
Fixes #18108
This PR fixes the issue of missing value comparisons in a
MatchStmt
due toOrPattern
incorrectly narrowing down the type of the subject.