commit | 04fab9a0d93159888ecafa34116e06023463e32b | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Mon Apr 11 12:59:43 2022 -0700 |
committer | Gopher Robot <gobot@golang.org> | Tue Apr 12 15:21:28 2022 +0000 |
tree | 96abf47163451fa1753d4ad8008199022b643dcc | |
parent | fbebf43d9fdfe790a21b70f5f27375d23e54042c [diff] |
go/callgraph/vta: avoids cycles for pathological recursive types Helper type logic did not handle properly pathological recursive types such as type B *B. This CL addresses that. For golang/go#51560 Change-Id: Ibb69ac68d77fc3956b98c701f17d28b9f30ac22c Reviewed-on: https://go-review.googlesource.com/c/tools/+/399674 Reviewed-by: Tim King <taking@google.com> Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com> Auto-Submit: Zvonimir Pavlinovic <zpavlinovic@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <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 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.