x/tools/gopls: ambiguous fillstruct commands returned by code action #40328
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
What version of Go are you using (
go version
)?What did you do?
Called
CodeAction()
-refactor.rewrite
with the following code:What did you expect to see?
Two different commands returned so that the user (and gopls) can tell them apart.
What did you see instead?
The different command arguments includes the same range, and since the structs has the same name there is no way to tell them apart.
The text was updated successfully, but these errors were encountered: