Skip to content

[mypyc] Support undefined locals with native int types #13616

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
Sep 7, 2022

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Sep 6, 2022

There's no reserved value we can use to track if a local variable with
a native int type hasn't been initialized yet. Instead, use bitmaps to
track whether a local is defined, but only if the local has a native
int type and can be undefined.

Work on mypyc/mypyc#837.

There's no reserved value we can use to track if a local variable with
a native int type hasn't been initialized yet. Instead, use bitmaps to
track whether a local is defined, but only if the local has a native
int type and can be undefined.

Work on mypyc/mypyc#837.
@JukkaL JukkaL merged commit 80dfb36 into master Sep 7, 2022
@JukkaL JukkaL deleted the native-int-locals-3 branch September 7, 2022 15:31
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