commit | 7dd9f20ebac47dca3f1f54189ae40f1e9a1bd1e9 | [log] [tgz] |
---|---|---|
author | Tim King <taking@google.com> | Fri Apr 01 17:37:52 2022 -0700 |
committer | Tim King <taking@google.com> | Fri Apr 08 13:27:25 2022 +0000 |
tree | a73f5e133d91787d5715760dba8cedfa20ee96ea | |
parent | ee2bc8be3a1239911a5b56f69078ca50a1c3ed5a [diff] |
go/ssa: Adds datastructures for function instantiation. Adds [unexported] fields to Function for Origin, TypeParams, and TypeArguments. Populates TypeParameters for package level functions and methods. Adds datastructures for creating function instantiations. Tracking unique instantiations on Program. Adds map for canonicalizing lists of types. Updates golang/go#48525 Change-Id: I9cb01f2ed24a9cacf3a515444d0cc0474333e417 Reviewed-on: https://go-review.googlesource.com/c/tools/+/397714 Reviewed-by: Robert Findley <rfindley@google.com> Trust: Tim King <taking@google.com> Run-TryBot: Tim King <taking@google.com> gopls-CI: kokoro <noreply+kokoro@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.