x/tools/gopls: rename fails to update doc comment for local variable of function type #42134
Labels
FeatureRequest
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 are you using?
What did you do?
Move the cursor to the start of
f :=
(atexample.go:5:2
).M-x eglot-rename
and enter a new name (g
).What did you expect to see?
Since the initial comment for local function
f
follows the Go convention for function documentation, the comment should be updated to remain consistent with that documentation:// g computes things.
What did you see instead?
The variable declaration and call site are updated, but the comment is not.
The text was updated successfully, but these errors were encountered: