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 warning 582 (error prone negation) not applying to subexpressions #94

Merged
merged 1 commit into from Jun 5, 2023

Conversation

appgurueu
Copy link

This fixes warning 582 not applying properly to subexpressions; the checks were applied to node[1] rather than directly to node. Furthermore it also checks for x == not y now; I've also added some tests for some variants of the error prone negation.

See minetest/minetest_game#3032 (comment) for the motivation behind this.

Copy link

@arichard4 arichard4 left a comment

Choose a reason for hiding this comment

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

Thanks!

@arichard4 arichard4 merged commit c697e32 into lunarmodules:master Jun 5, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants