Skip to content

[mypyc] Fixes to union simplification#14364

Merged
JukkaL merged 3 commits intomasterfrom
mypyc-fix-unions
Dec 29, 2022
Merged

[mypyc] Fixes to union simplification#14364
JukkaL merged 3 commits intomasterfrom
mypyc-fix-unions

Conversation

@JukkaL
Copy link
Copy Markdown
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.

2 participants