commit | 774c71fcf11405d0a5ce0aba75dc113822d62178 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Mon Dec 30 14:41:33 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Fri Jan 03 22:14:40 2020 +0000 |
tree | 060abb4bea67443214297e17f504a4a5159cd73a | |
parent | 7bda30096dc1889bf0a2260c7523b5a3da5f6996 [diff] |
internal/lsp/cache: fix type error reporting in cgo When dealing with cgo files, we need to pass a Mapper for the authored file. I got most of the sites in CL 208501, but missed this one. I was nervous about starting to propagate errors, but all the tests passed, so shrug. Change-Id: I7505e670e9c01d719c72c3f99d01c8153c3d2ff5 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212862 Run-TryBot: Heschi Kreinick <heschi@google.com> 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.