commit | 73c7173a9f7dc30db1bb8ac66d4dc5ba652bc44e | [log] [tgz] |
---|---|---|
author | Muir Manders <muir@mnd.rs> | Wed Dec 04 19:50:46 2019 -0800 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Dec 05 06:08:18 2019 +0000 |
tree | d1550c9fc83703413b8e04919cf7ce1fc160938b | |
parent | e84277c2c0088d7953ec19455caf17a84c8cbf8e [diff] |
internal/lsp: fix AST bookkeeping as we repair nodes We weren't maintaining our ancestor node list correctly. This caused us to fail to make AST repairs in certain cases. Now we are careful to always append to the ancestors list when recursing. Updates golang/go#34332. Change-Id: I9b51ec70572170d9f592060d264c98b1f9720fb8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/209966 Run-TryBot: Muir Manders <muir@mnd.rs> 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.