Skip to content
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

uninitialized variable usage warning #83

Open
norayr opened this issue Mar 12, 2020 · 0 comments
Open

uninitialized variable usage warning #83

norayr opened this issue Mar 12, 2020 · 0 comments

Comments

@norayr
Copy link
Member

norayr commented Mar 12, 2020

i think it is possible to add a field to the item like 'initialized' in OPT.Mod, initialize it to fale, then if something gets assigned to it, assign true to the item field.

when it is used in expressions, check that field and emit a warning, in case it's false.

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

No branches or pull requests

1 participant