You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed this while preparing for the gopls@v0.9.2 release.
The new unused variable quickfix added in #48975 seems to compute over-large edits in some cases.
For example, given the following function:
The quick fix produces the following end-state:
I think this needs a bit more work before we enable this quick-fix by default.
CC @rentziass for awareness. This is not a big deal, but I probably won't promote this new feature in the v0.9.2 release notes. We'll promote it for v0.10.0 once we've worked on it a bit more.
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Aug 10, 2022
Noticed this while preparing for the gopls@v0.9.2 release.
The new unused variable quickfix added in #48975 seems to compute over-large edits in some cases.
For example, given the following function:

The quick fix produces the following end-state:

I think this needs a bit more work before we enable this quick-fix by default.
CC @rentziass for awareness. This is not a big deal, but I probably won't promote this new feature in the v0.9.2 release notes. We'll promote it for v0.10.0 once we've worked on it a bit more.
The text was updated successfully, but these errors were encountered: