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 semfold handling of {.str/int/bool-define.} #13964

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

GULPF
Copy link
Member

@GULPF GULPF commented Apr 12, 2020

Consts with a {.str/int/bool-define.} pragma where only folded when there where a matching --define, but they can always be folded since they must be assigned a value in the code as well.

Fixes #12880
Fixes #10980

@Araq Araq merged commit 255698d into nim-lang:devel Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants