commit | 846828e8ce7c48d1d6976becab4773300c61d2ba | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Mon Dec 16 17:46:43 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Mon Dec 16 23:08:29 2019 +0000 |
tree | d6bbdbed3f4e1290f8e539e2d8d284dee5fb78f4 | |
parent | 1d943b090355e97ccc203c569f2c4fe171961c8f [diff] |
internal/lsp/source: fix crash on conflict markers in imports Generally speaking, if the imports package can operate on a file, we can assume that it's in good enough shape for the rest of our work. That means it's important we run imports first. On one code path, we weren't. Fixes golang/go#36162. Change-Id: I750aff31e0c3706aeb798ceb60c35ea17ba95943 Reviewed-on: https://go-review.googlesource.com/c/tools/+/211580 Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@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.