tools/go/internal/gcimporter
Robert Griesemer c995a08888 go/internal/gcimporter: move 1.11 specific tests out of non-1.11 builds (fix build)
TBR=adonovan

The tests TestImportedTypes and TestIssue25301 are dependent on many
1.11-specific bug fixes that went into go/types. Just move them out
of non-1.11 builds.

While doing so, also extended the set of test cases run by
TestImportedTypes (now matching the corresponding tests cases
in the std lib).

This also makes it again unnecessary to factor out the embeddedType
function into build-specific versions. Removed again.

For https://github.com/golang/lint/issues/402.

Change-Id: I45eb8c3d1dcca7b392f14a7660bc1599a44a0d41
Reviewed-on: https://go-review.googlesource.com/118567
Reviewed-by: Robert Griesemer <gri@golang.org>
2018-06-13 19:12:07 +00:00
..
testdata go/internal/gcimporter, gccgoimporter: updated to match latest version in std lib 2018-06-13 15:25:57 +00:00
bexport.go go/internal/gcimporter, gccgoimporter: updated to match latest version in std lib 2018-06-13 15:25:57 +00:00
bexport19_test.go go/internal/gcimporter: return error from BExportData 2018-05-17 02:09:35 +00:00
bexport_test.go go/...: make most tests pass with gccgo 2018-06-08 16:58:49 +00:00
bimport.go go/internal/gcimporter: use types.NewInterface (not NewInterface2) for builds before Go 1.11 2018-06-13 17:48:59 +00:00
exportdata.go go/internal/gcimporter: rename from go/gcimporter15 2018-04-10 13:03:03 +00:00
gcimporter.go go/internal/gcimporter, gccgoimporter: updated to match latest version in std lib 2018-06-13 15:25:57 +00:00
gcimporter11_test.go go/internal/gcimporter: move 1.11 specific tests out of non-1.11 builds (fix build) 2018-06-13 19:12:07 +00:00
gcimporter_test.go go/internal/gcimporter: move 1.11 specific tests out of non-1.11 builds (fix build) 2018-06-13 19:12:07 +00:00
iimport.go go/internal/gcimporter: missed a NewInterface2 call in prior CL 2018-06-13 18:12:16 +00:00
isAlias18.go go/internal/gcimporter: rename from go/gcimporter15 2018-04-10 13:03:03 +00:00
isAlias19.go go/internal/gcimporter: rename from go/gcimporter15 2018-04-10 13:03:03 +00:00
newInterface10.go go/internal/gcimporter: move 1.11 specific tests out of non-1.11 builds (fix build) 2018-06-13 19:12:07 +00:00
newInterface11.go go/internal/gcimporter: move 1.11 specific tests out of non-1.11 builds (fix build) 2018-06-13 19:12:07 +00:00