Skip to content

Fix crash on missing indirect dependencies #13847

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 2 commits into from
Oct 10, 2022

Conversation

ilevkivskyi
Copy link
Member

Fixes #13825

We add also types encountered in locally defined symbols, not just expressions. I think we may also need to add base-classes/metaclass for TypeInfos, I will check and add if needed ~tomorrow.

@github-actions

This comment has been minimized.

@ilevkivskyi
Copy link
Member Author

Yes, my suspicion was right, I discovered a bunch of other similar crashes. I am going to fix those too in a sec.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2022

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@ilevkivskyi
Copy link
Member Author

FWIW, it is ready for review now. But also it is quite simple, that maybe I will just merge it later if there are no objections.

@ilevkivskyi ilevkivskyi merged commit 1eaf4c7 into python:master Oct 10, 2022
@ilevkivskyi ilevkivskyi deleted the fix-incr-crash branch October 10, 2022 10:35
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.

Incremental crash with double re-exported alias used in function annotation
2 participants