x/tools/gopls: adds import for package not required by module dependencies #37285
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Please answer these questions before submitting your issue. Thanks!
What did you do?
See https://play.golang.org/p/tNlNNlBk6lx for the full listing.
Edit a module that requires
github.com/aws/aws-sdk-go
module, refer to some package symbols from that module with an empty "import" section:Save file in VSCode to trigger automatic import fixes with gopls.
What did you expect to see?
Import section populated with packages from dependencies:
What did you see instead?
Import section incorrectly populated with package that's not listed in dependencies (second line):
Build info
Go info
The text was updated successfully, but these errors were encountered: