commit | 7c895e061b7c88476766a6234221f7716f469ebd | [log] [tgz] |
---|---|---|
author | Tim King <taking@google.com> | Mon Apr 25 21:43:00 2022 -0700 |
committer | Tim King <taking@google.com> | Mon May 02 19:18:49 2022 +0000 |
tree | a9eb63898bb5fe4d34f5ad9a7464f73f873e83c1 | |
parent | ddadc42f5a9d8b2df2b054519864870bd7f2b430 [diff] |
pointer: Adds unit tests for pointer with type parameters. Adds tests for pointer that test pointer flows through type instantiations. Updates pointer_test.go to support one probe per instantiation. This is due to there being one copy of a Function per instantiation. Updates golang/go#48525 Updates golang/go#52504 Change-Id: Ia750cd37ddf1aaf55342ff8464f12e96e7e1030f Reviewed-on: https://go-review.googlesource.com/c/tools/+/402276 Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> Reviewed-by: Guodong Li <guodongli@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Run-TryBot: Guodong Li <guodongli@google.com>
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 install
.
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 install golang.org/x/tools/...@latest
.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
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.