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

macro '#if (a != b)' should be true for missing defines #10868

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

bendmorris
Copy link
Contributor

I think the least surprising implementation here is for != to be the inverse of ==.

(fixes #10152)

@Simn
Copy link
Member

Simn commented Dec 1, 2022

Looks good to me!

@kLabz I forgot already, do these .stdout tests work now or not?

@kLabz
Copy link
Contributor

kLabz commented Dec 1, 2022

@Simn
Copy link
Member

Simn commented Dec 1, 2022

Ah yeah, they actually fail, which is good because now we're sure that they execute!

@bendmorris
Copy link
Contributor Author

Glad I could help out with my definitely intentionally broken tests. Now I'll fix them...

@skial skial mentioned this pull request Dec 7, 2022
1 task
@Simn Simn merged commit 5645ecc into HaxeFoundation:development Dec 13, 2022
@Simn
Copy link
Member

Simn commented Dec 13, 2022

Thanks!

@bendmorris bendmorris deleted the issue-10152 branch December 13, 2022 21:17
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.

Unexpected behavior when using #if with an unspecified define
3 participants