commit | bbbd9518e88c8c9d74d2b0f29f0d19b3b22338a1 | [log] [tgz] |
---|---|---|
author | Michael McLoughlin <mmcloughlin@gmail.com> | Tue Dec 18 01:36:47 2018 -0800 |
committer | Josh Bleecher Snyder <josharian@gmail.com> | Tue Dec 18 19:42:33 2018 +0000 |
tree | 365ed1715390958ac260125c585cacb787fe4ca3 | |
parent | 13ba8ad772dfbf0f451b5dd0679e9c5605afc05d [diff] |
go/analysis/passes/asmdecl: fix array offsets Array offsets in recursive structures do not include the accumulated offset. This diff fixes the mistake and adds a test. Fixes golang/go#29318 Change-Id: Iaa2a2f9404e4ed0e38b87e5e041709c1a8e25809 Reviewed-on: https://go-review.googlesource.com/c/154665 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.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 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.