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

[mypyc] Fixes to union simplification #14364

Merged
merged 3 commits into from
Dec 29, 2022
Merged

[mypyc] Fixes to union simplification #14364

merged 3 commits into from
Dec 29, 2022

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Dec 28, 2022

Flatten nested unions before simplifying unions.

Simplify item type unions in loops. This fixes a crash introduced in #14363.

Fix crash related to unions in loops. The crash was introduced in #14363.

Flatten nested unions before simplifying unions.
@JukkaL JukkaL merged commit 0070071 into master Dec 29, 2022
@JukkaL JukkaL deleted the mypyc-fix-unions branch December 29, 2022 13:40
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.

None yet

2 participants