error-prone icon indicating copy to clipboard operation
error-prone copied to clipboard

CheckReturnValue and ReturnValueIgnored have overlapping altNames

Open jaredstehler opened this issue 2 years ago • 0 comments

CheckReturnValue has altNames: "ResultOfMethodCallIgnored", "ReturnValueIgnored" ReturnValueIgnored has altNames: "ResultOfMethodCallIgnored", "CheckReturnValue"

I'm unclear on the correctness of this, but am encountering a bug as I'll describe below.

With this change to allow sev overrides by altNames: https://github.com/google/error-prone/commit/48bbef0e51c2f5098efe6a2587fafc0ebc31bca5

this conflicting overlap makes it impossible to address one and not the other.

jaredstehler avatar May 24 '23 17:05 jaredstehler