commit | 8e193c2ba95ee3e74c64f796b05938c1a7cb97c1 | [log] [tgz] |
---|---|---|
author | Tim King <taking@google.com> | Fri Feb 25 18:35:30 2022 -0800 |
committer | Tim King <taking@google.com> | Wed Mar 30 17:49:40 2022 +0000 |
tree | 2158c63508a0619aa0dac7e583f62bdb7970d9d4 | |
parent | 9d8009b6b77da60c24161dbf6d8fd13fadcbe7f4 [diff] |
go/ssa: removes conversion of index value in Index and IndexAddr to int Removes the forced conversion of the Index field in Index and IndexAddr to type int. ssa/interp now intprets indices as int64s instead of ints. Converts untyped indices for strings to ints before the lookup. Fixes golang/go#50949 Change-Id: Ib5d7f1ad28728d16c8e0a8411014d1209c62a3f2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/387996 Reviewed-by: Robert Findley <rfindley@google.com> Run-TryBot: Tim King <taking@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Trust: Tim King <taking@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.