Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: fillreturns modifies existing returns #38707

stamblerre opened this issue Apr 27, 2020 · 1 comment

x/tools/gopls: fillreturns modifies existing returns #38707

stamblerre opened this issue Apr 27, 2020 · 1 comment


Copy link

@stamblerre stamblerre commented Apr 27, 2020

I added a return value to a function, and observed that hitting save overrode the existing values with nils. (Repro in the file`.)

Screen Shot 2020-04-27 at 3 44 54 PM

@stamblerre stamblerre added this to the gopls/v0.5.0 milestone Apr 27, 2020
Copy link

@gopherbot gopherbot commented May 13, 2020

Change mentions this issue: internal/lsp/source: don't mark fillreturns as high confidence

gopherbot pushed a commit to golang/tools that referenced this issue May 13, 2020
It's not ready for the release yet (see golang/go#38707).

Change-Id: I04c1d8ec4ed815efb3e4c2d3c88cba3ec164755e
Run-TryBot: Rebecca Stambler <>
Reviewed-by: Heschi Kreinick <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.