-
Notifications
You must be signed in to change notification settings - Fork 737
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
False positive: UnusedVariable for record components that are not read directly #1648
Comments
We built a stricter version of |
Same hit on this Just the most simple record will fail
|
Please reopen, cause it still failes if record is private as in
com.google.errorprone.error_prone_core: 2.16 |
This is why #2713 was opened :-) |
Description of the problem / feature request:
A false positive for
UnusedVariable
is reported for all record components that are only read through methods.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
What version of Error Prone are you using?
2.4.0
Have you found anything relevant by searching the web?
No.
The text was updated successfully, but these errors were encountered: