KEMBAR78
[mypyc] Box initializers of final variables when required by JukkaL · Pull Request #10229 · python/mypy · GitHub
Skip to content

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