commit | ae12e8f2c7ec636d64310d2265d3d31c8b0f3d1d | [log] [tgz] |
---|---|---|
author | Tim King <taking@google.com> | Sun Apr 24 17:18:23 2022 -0700 |
committer | Tim King <taking@google.com> | Mon Apr 25 21:36:22 2022 +0000 |
tree | c8f9061d57f54743500e0c7a697b6a522ba2148e | |
parent | 559469ae167264e19b83d29b9a5b56e7ea4f47a7 [diff] |
ssa: switch lblocks to types.Object Switches lblocks from *ast.Object to types.Object. Removes a user from the infrequently used *ast.Object. Updates golang/go#52463 Change-Id: I1a21ab55b7136f4891f6aa2f76459880ace389c9 Reviewed-on: https://go-review.googlesource.com/c/tools/+/402034 Reviewed-by: Dominik Honnef <dominik@honnef.co> Reviewed-by: Daniel Martà <mvdan@mvdan.cc> Reviewed-by: Tim King <taking@google.com> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@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.