x/tools/internal/refactor/inline: analyzer generates unnecessary import renames #67281
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Go version
not relevant
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
What did you expect to see?
I would expect the analyzer to not rename the import if it removes the conflicting import the same suggested fix.
This pattern is common when you use the inline analyzer to facilitate package moves and it would be nice if the analyzer doesn't leave the code base with a bunch of unecessary import renames.
The text was updated successfully, but these errors were encountered: