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

Support static fields initialization #128

Merged
merged 2 commits into from Apr 8, 2022

Conversation

SerVB
Copy link
Collaborator

@SerVB SerVB commented Apr 8, 2022

No description provided.

@SerVB SerVB marked this pull request as ready for review April 8, 2022 18:18
@SerVB SerVB requested a review from krzema12 April 8, 2022 18:18
@krzema12 krzema12 merged commit 8d28c86 into python-backend Apr 8, 2022
@krzema12 krzema12 deleted the 2022-04-08-static-fields-initialization branch April 8, 2022 18:44
// todo: the following lines omit initializing of known stdlib fields that are unsupported yet. need to remove them eventually
declaration.symbol.owner.name.asString().toValidPythonSymbol() !in setOf(
"UNDEFINED_RESULT",
"output",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krzema12, jfyi, if you want to support any of those global properties in stdlib (including output), don't forget to remove them from here, otherwise they won't work

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.

None yet

2 participants