tools/go
Robert Griesemer df08273253 go.tools/gcimporter: use imported package info for anonymous fields
The package of a struct field is independent of the type of the
struct field - the old code was technically not correct. That said,
it does not seem possible (or very difficult) to create a test case
because for exported anonymous fields that field package doesn't matter
(it's not needed for name identity), and non-exported anonymous fields
cannot be accessed from an imported package.

R=adonovan
CC=golang-codereviews
https://golang.org/cl/47560043
2014-01-03 11:37:20 -08:00
..
exact go.tools/go/exact: fix bug introduced with CL 41170043 2013-12-12 14:18:40 -08:00
gcimporter go.tools/gcimporter: use imported package info for anonymous fields 2014-01-03 11:37:20 -08:00
importer go.tools/go/importer: more cleanups 2014-01-03 09:12:32 -08:00
types go.tools/go/types: complete set of Interface accessors 2013-12-20 16:35:31 -08:00
vcs go.tools/vcs: allow compilation with go 1.0 2013-10-04 11:46:57 +10:00