commit | 9df5a47218b3e923f5bc664b03559601d18929c8 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Tue Jan 28 20:07:25 2020 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Wed Jan 29 21:27:34 2020 +0000 |
tree | 9d2c25a4a7573352db36fb17b18aa4ec60a23c58 | |
parent | 234a0f43e70eb25b8a4073aa3e469e71a2ab27ff [diff] |
[gopls-release-branch.0.3] internal/lsp/cache: handle invalid analysis Pos The nilness analysis gives us diagnostics with invalid start Pos. We can just ignore those and log them. Add a missing error check while I'm in here. Change-Id: I4a205f253a9e47ec1513ff6299479f52e414a48c Reviewed-on: https://go-review.googlesource.com/c/tools/+/216724 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> (cherry picked from commit e1fd5825ffafffa8e322b1d6a54c473cadb5f5e1) Reviewed-on: https://go-review.googlesource.com/c/tools/+/216845
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.