- LookupFieldOrMethod now computes if any indirection was found on the way to an embedded field/method: this is the only information required to determine if a result method is in the method set. - Scopes now provide a link to the ast.Node responsible for them. Also: - don't permit unsafe.Offsetof on method values - report ambiguities in field/method lookup errors - added some missing checks for anonymous fields - lots of new tests Fixes golang/go#5499. R=adonovan CC=golang-dev https://golang.org/cl/10411045 |
||
---|---|---|
cmd | ||
go | ||
gotype | ||
importer | ||
ssa | ||
.hgignore | ||
AUTHORS | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README | ||
codereview.cfg |
README
This subrepository holds the source for various packages and tools that support the Go programming language. Although at least some of the tools themselves will be included in binary Go distributions, the packages from which they are built are of little interest to most Go programmers. To submit changes to this repository, see http://golang.org/doc/contribute.html.