commit | 7d3b6ebf133df879df3e448a8625b7029daa8954 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Thu May 14 16:53:46 2020 -0400 |
committer | Heschi Kreinick <heschi@google.com> | Fri May 15 01:05:26 2020 +0000 |
tree | 099216c3edbab6a0bce0141e76a1bae8713e655c | |
parent | d0dc4d41b76d4ee7dd9784e6c7e2d420537efb28 [diff] |
internal/lsp/cache: pass UsesCgo to go/types In CL 229779 I enabled Cgo type checking for go/packages, but we don't actually type check there. We need to enable it in our own type checking too. No test updates because the negative effects are relatively subtle and caught by an upcoming regtest. Change-Id: I31691d69eb104cdabfd4fbe0a14b1f3c9741eabb Reviewed-on: https://go-review.googlesource.com/c/tools/+/234102 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.