Details: - emitImplicitSelections now emits common code for implicit field selections in both method and field lookups. The last iteration over the LookupFieldOrMethod indices---the explicit, final index---is handled by the caller. - anonFieldPath, candidate and the BFS algo in buildMethodSet are all gone. R=gri CC=golang-dev https://golang.org/cl/11576045 |
||
|---|---|---|
| cmd | ||
| go | ||
| godoc | ||
| 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.