Skip to content

[mypyc] Fix bad C generated for multiple assignment #13147

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
Jul 16, 2022
Merged

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jul 16, 2022

We need to flush keep alives also after a multiple assignment, as otherwise
the generated IR will be badly formed and confuse the reference count transform.

Fixes mypyc/mypyc#942.

We need to flush keep alives also after a multiple assignment, as otherwise
the generated IR will be badly formed and confuse the reference count transform.

Fixes mypyc/mypyc#942.
@JukkaL JukkaL merged commit b13a450 into master Jul 16, 2022
@JukkaL JukkaL deleted the mypyc-generator branch July 16, 2022 15:16
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.

Bad code generated for a tuple assignment in a generator
2 participants