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

Added support for deferred init static vars #63

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

AjayBrahmakshatriya
Copy link
Collaborator

This change adds support for deferring inits for static_var with builder::defer_init same as dyn_var. Deferred static vars are added to a separate deferred_static_var_tuples in the builder_context and currently are never removed.

We can add an option to uninit static vars in the future. Sample53 has been updated to test this.

@AjayBrahmakshatriya AjayBrahmakshatriya merged commit f9e418d into BuildIt-lang:master Jan 17, 2024
2 checks passed
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.

1 participant