Skip to content

Fix crash on deferred supertype and setter override #18649

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

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

ilevkivskyi
Copy link
Member

Fixes #18648

The fix is straightforward, but unlike for getter I decided to not create any ad-hoc types during last_pass.

Copy link
Contributor

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

@ilevkivskyi ilevkivskyi merged commit 24ecb27 into python:master Feb 10, 2025
18 checks passed
@ilevkivskyi ilevkivskyi deleted the fix-setter-property branch February 10, 2025 20:35
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
Fixes python#18648

The fix is straightforward, but unlike for getter I decided to not
create any ad-hoc types during `last_pass`.
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.

INTERNAL ERROR in master branch related to recent support for setter types being different from getter types
2 participants