commit | 2c624306892e9c0e84204c42a08978beb847b185 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Tue Feb 20 19:33:11 2018 -0500 |
committer | Alan Donovan <adonovan@google.com> | Wed Feb 21 01:23:17 2018 +0000 |
tree | b531db6f1e1b2a4b812b5f7c770ec22ddf0cd189 | |
parent | 5e776fee60db37e560cee3fb46db699d2f095386 [diff] |
go/callgraph/cha: fix bug computing correspondence of abstract/concrete methods In a dynamic interface method call x.f() where x has type I, it is not sound to assume that the receiver of the types.Signature for types.Func f has type I, as Func objects for abstract methods may be shared by multiple interfaces. Fixes golang/go#23925 Change-Id: I755e3010d1310480c46855e072946346626b3e59 Reviewed-on: https://go-review.googlesource.com/95697 Reviewed-by: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
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.