tools/go
Robert Griesemer 5dca7d8bd1 go.tools/go/types: LookupFieldOrMethod checks method set
LookupFieldOrMethod now also decides whether a found
method is actually in the method set. Simplifies call
sites. Added corresponding API tests.

TODO (separate CL): Decide what the correct value for
the indirect result should be (as required for code
generation). For now, the result value for indirect
is unchanged from before if a field/method is found.

Fixes golang/go#8584.

LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/132260043
2014-08-28 13:03:13 -07:00
..
callgraph go.tools/go/pointer: add intrinsic for time.startTimer, which is implemented in C. 2014-07-22 18:30:06 -04:00
exact go.tools/go/types, exact: fix build for 1.2 2014-06-12 12:46:21 -07:00
gccgoimporter go.tools/go: separate interface construction from method set construction 2014-07-09 20:00:49 -07:00
gcimporter go.tools/go: separate interface construction from method set construction 2014-07-09 20:00:49 -07:00
importer go.tools/go: separate interface construction from method set construction 2014-07-09 20:00:49 -07:00
loader go.tools/go/loader: make error message for massive failure (e.g. no "fmt") more concise. 2014-08-14 12:10:34 -04:00
pointer go/pointer: fix runtime.startTimer intrinsic. 2014-08-26 11:08:45 -04:00
ssa go.tools/go/types: LookupFieldOrMethod checks method set 2014-08-28 13:03:13 -07:00
types go.tools/go/types: LookupFieldOrMethod checks method set 2014-08-28 13:03:13 -07:00
vcs go.tools: fix various minor issues found by go vet 2014-05-19 08:47:28 -07:00