commit | 62545537a93b9cf62e4644135f0612d1ae20ce08 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Tue Jan 21 14:45:11 2020 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Jan 21 20:00:43 2020 +0000 |
tree | da7ba611f7c5eadc4b6cde14de9327090689df26 | |
parent | bd79bb77d62b3c5b416a5122d26397956f4651fb [diff] |
internal/lsp: use correct file identities when computing diagnostics CL 214586 switched to using URIs in error messages instead of file identities. It wasn't fully correct because the reports were being allocated for the file identities in the package handle (which may be outdated). Fixes golang/go#36601 Change-Id: I4fcfc02df74d94fff49540c784ef816c357e7232 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215680 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@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.