Skip to content

Properly handle unpacks in overlap checks - #17356

Merged
ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:fix-unpack-overlap
Jun 10, 2024
Merged

ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:fix-unpack-overlap

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

Fixes #17319

This is still not 100% robust, but at least it should not crash, and should cover correctly vast majority of cases.

@github-actions

Copy link
Copy Markdown
Contributor

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

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.

Crash on overlapping check for overloads with Unpack types

2 participants