commit | 68211a626cca1068197e1fa98907659c722d4222 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Jun 05 17:44:09 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Fri Jun 07 20:08:10 2019 +0000 |
tree | f784b9854c8d965d59f8d7be4f912e868c72fa7e | |
parent | 5aed7825b13ee2b55737e99244fd658841b12a99 [diff] |
internal/lsp: fix some issues with trimming ASTs This change correctly invalidates the cache when we have to go from a trimmed to untrimmed AST. The "ignoreFuncBodies" behavior is still disabled due to a racy test. Updates golang/go#30309 Change-Id: I6b89d1d2140d77517616cb3956721a157c25ab71 Reviewed-on: https://go-review.googlesource.com/c/tools/+/180857 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
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.