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

Fix enum initialization #545

Merged
merged 2 commits into from Mar 18, 2019
Merged

Fix enum initialization #545

merged 2 commits into from Mar 18, 2019

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Mar 17, 2019

This PR aims at fixing oddities when compiling enum initializers. Aside from this, the compiler now always attempts to make immutable globals (that can be exported even without --enable mutable-global) if possible. See the issue linked below for more details.

fixes #541

@dcodeIO dcodeIO requested a review from MaxGraey March 17, 2019 01:06
@dcodeIO dcodeIO merged commit fd99589 into master Mar 18, 2019
@dcodeIO dcodeIO deleted the fix-enum branch March 29, 2019 10:30
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.

Enums required explicit initialization
2 participants