x/tools/gopls/internal/extract: extract L-value should replace its uses with dereferenced access #70784
Labels
gopls
Issues related to the Go language server, gopls.
Refactoring
Issues related to refactoring tools
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
.
go env
.
What did you do?
What did you see happen?
Currently the produced code has some type error, this messy output happens in any LHS of an assignment:
But even we fix the indent/newline format bug, the result would be:
What did you expect to see?
Reference https://go-review.googlesource.com/c/tools/+/624035/comments/51ffbf6c_61124c11
Editor and settings
No response
Logs
No response
The text was updated successfully, but these errors were encountered: