commit | c93f28baaae07c168b9e3eacc138484da397ec60 | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Tue Jul 02 18:35:35 2019 -0400 |
committer | Suzy Mueller <suzmue@golang.org> | Mon Jul 08 20:09:55 2019 +0000 |
tree | 596a0ef6cd659f219e90741a901829067d97fe93 | |
parent | dd7c7173f160f55e5c8583101f0e9ae2b7c4ce57 [diff] |
internal/lsp: check no errs for assignability rename The satisfy package has a precondition for Finder.Find that requires that the package has no type errors. If this is a check that we would perform, give an error and do not rename. Fixes golang/go#32882 Change-Id: Id44b451bf86ff883fd78a6306f2b2565ad3bdeb9 Reviewed-on: https://go-review.googlesource.com/c/tools/+/184857 Run-TryBot: Suzy Mueller <suzmue@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.