x/tools/internal/refactor/inline: analyzer generates suggested fixes that move comments incorrectly #67336
Labels
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Refactoring
Issues related to refactoring tools
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Go version
n/a
Output of
go env
in your module/workspace:What did you do?
This seems like a lot to parse. The important part is (I think) that the analyzer tries to inline a function that requires two new imports one of which is renamed.
What did you see happen?
The test failed with:
Sometimes the test fails with a different error due to https://go.dev/issue/67335.
What did you expect to see?
I expected the test to pass.
The text was updated successfully, but these errors were encountered: