-
Notifications
You must be signed in to change notification settings - Fork 2
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
unsupported lint option: redundantNullComparison #237
Comments
Thanks for the report! The issue can be reproduced with only nullness and guieffect checkers. The mechanism to select the type system doesn't seem to work, though, and isn't documented. I'll fix this. |
@kelloggm I can't transfer the issue. Can you? |
@wmdietl It seems like GitHub doesn't permit transfers between repositories that aren't owned by the same account. I've transferred it to my fork of the CF, but that's probably not what you had in mind :) It might be better to open a new issue on the CF itself and close this one. |
That seems good enough... The fix is here |
Each So it is unfortunately required that this invocation:
issues a warning. Once the fix in typetools#3239 is merged (and the next time we made a release), you can use one of the following two ways to pass the flag only to the correct checker:
|
Hi!
I have encountered some problem related to lint options.
My Gradle
check
(compileJava
actually) task result fails with:warning: Unsupported lint option: redundantNullComparison; All options: [cast, debugSpew, cast:redundant, cast:unsafe] error: warnings found and -Werror specified
A part of
build.gradle
:org.checkerframework
version:0.4.14
The text was updated successfully, but these errors were encountered: