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

Eliminate Jruby warning "interpreted as binary operator" #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hmistry
Copy link

@hmistry hmistry commented Jun 14, 2021

total_icons -1 produces a warning in Jury that it will be interpreted as a binary operator even though it looks like a unary operator. Changing it to total_icons - 1 eliminates the warning.

Please include this in your next release. Thank you.

`total_icons -1` produces a warning in Jury that it will be interpreted as a binary operator even though it looks like a unary operator. Changing it to `total_icons - 1` eliminates the warning.

Please include this in your next release. Thank you.
@jeremyevans
Copy link

This isn't specific to JRuby, you get this warning on CRuby as well, if running in verbose mode. This warning was introduced when the related code was added in ceaa011.

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