commit | f4fcf867e710f011999090fe3bef367096314b48 | [log] [tgz] |
---|---|---|
author | Rohan Challa <rohan@golang.org> | Mon Mar 16 14:46:49 2020 -0400 |
committer | Rohan Challa <rohan@golang.org> | Fri Mar 27 18:57:59 2020 +0000 |
tree | 011e20d381f10ae2016ad4f71e6f164bdc4360e2 | |
parent | afab6edfada8bd76fd15bf977ec4f074c9ad3908 [diff] |
internal/lsp/analysis: add quickfix for "no result values expected" This change adds a quick fix for type errors of the type "no result values expected". It will replace the return statment with an empty return statement. Updates golang/go#34644 Change-Id: I3885748dfc69a2d19f8e7a2e81f36f6d0a20d25b Reviewed-on: https://go-review.googlesource.com/c/tools/+/223666 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.