Skip to content

[mypyc] Box initializers of final variables when required #10229

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
Mar 20, 2021
Merged

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Mar 20, 2021

Fix a compile error when an unboxed initializer is used for a boxed
final variable.

I had to tweak how enums are compiled to avoid breaking them as
a side effect.

Fixes mypyc/mypyc#815.

JukkaL added 2 commits March 20, 2021 11:54
Fix a compile error when an unboxed initializer is used for a boxed
final variable.

Fixes mypyc/mypyc#815.
@JukkaL JukkaL merged commit 20e8e68 into master Mar 20, 2021
@JukkaL JukkaL deleted the final-tuple branch March 20, 2021 13:15
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.

C compile error with final tuple
1 participant