Skip to content

Eliminate Jruby warning "interpreted as binary operator"#71

Open
hmistry wants to merge 1 commit into
cxn03651:masterfrom
hmistry:patch-1
Open

Eliminate Jruby warning "interpreted as binary operator"#71
hmistry wants to merge 1 commit into
cxn03651:masterfrom
hmistry:patch-1

Conversation

@hmistry
Copy link
Copy Markdown

@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
Copy Markdown

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