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: != operator of Entity to properly handle comparison with null #22

Merged
merged 1 commit into from
Jul 10, 2022

Conversation

derkork
Copy link
Contributor

@derkork derkork commented Jul 5, 2022

The != operator of Entity doesn't properly compare to null, e.g.

Entity foo = null;

if (foo != null) { 
  // succeeds.
}

This patch should fix this.

@Byteron
Copy link
Owner

Byteron commented Jul 10, 2022

Thanks!

@Byteron Byteron merged commit 50bdf0b into Byteron:main Jul 10, 2022
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.

2 participants