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

Treat 0 and 0.0 Mongo responses equally #237

Merged
merged 1 commit into from
May 3, 2024

Conversation

rhcarvalho
Copy link
Contributor

Just like 1 and 1.0 were treated the same back in 2017, treat 0, 0.0, +0.0 and -0.0 equally, eliminating a compiler warning related to upcoming changes in OTP 27.

Closes #236.

Copy link
Owner

@zookzook zookzook left a comment

Choose a reason for hiding this comment

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

Thank you!

@zookzook zookzook merged commit 6071f18 into zookzook:master May 3, 2024
3 checks passed
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.

Compiler warning pattern matching on 0.0 (OTP 27)
2 participants