commit | 504de27b367af6ad4eab54c9d0486ca9b3e2606a | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Tue Jun 25 00:50:01 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Wed Jul 03 19:15:39 2019 +0000 |
tree | 2eca7709a706f832e8e26542515e8ee4e0014718 | |
parent | 4457e4cfd49e5ab5e998d5829ac6530c56bcb5b9 [diff] |
internal/lsp: connect memoize actions to their callers This adds the ability to tie a background context to the context that created it in traces, and also cleans up and annotates the context used in type checking. This gives us detailed connected traces of all the type checking and parsing logic. Change-Id: I32721220a50ecb9b4404a4e9354343389d7a5219 Reviewed-on: https://go-review.googlesource.com/c/tools/+/183757 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.