You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given this snippet, the DifferentNameButSame check warns
ServerFeatureFlagProcessorprocessor = newServerFeatureFlagProcessor();
// Fails on this lineServerFeatureFlagProcessor.TestBackdoortestBackdoor = processor.newTestBackdoor();
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
The above snippet should be fairly explanatory
What version of Error Prone are you using?
2.5.0
The text was updated successfully, but these errors were encountered:
ZacSweers
changed the title
DifferentNameButSame doesn't handle inner classes well
DifferentNameButSame gives invalid suggestion on an inner class new instance
Jan 13, 2021
Description of the problem / feature request:
Given this snippet, the
DifferentNameButSame
check warnsSuggesting this, which is invalid syntax
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
The above snippet should be fairly explanatory
What version of Error Prone are you using?
2.5.0
The text was updated successfully, but these errors were encountered: