commit | 3810fa8296bd35d6bc1a354d837a84ea032a7672 | [log] [tgz] |
---|---|---|
author | Cuong Manh Le <cuong.manhle.vn@gmail.com> | Thu Jul 22 10:42:02 2021 +0700 |
committer | Cuong Manh Le <cuong.manhle.vn@gmail.com> | Sat Jul 31 00:26:46 2021 +0000 |
tree | e64dff799e6ddb90988f31f455508fef38936f99 | |
parent | ab1fe7202b0a817c16909ae27c5ad518802c0d6a [diff] |
go/ssa/interp: handle nil slice convert to array pointer Converting from nil slice to a zero length array pointer must be nil. Updates golang/go#46987 Change-Id: I8894b92bd85fae8ea77bf01b92ee56f1a215a75b Reviewed-on: https://go-review.googlesource.com/c/tools/+/336489 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Trust: Tim King <taking@google.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Tim King <taking@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Tim King <taking@google.com> Reviewed-by: Bryan C. Mills <bcmills@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 get
.
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 get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
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.