diff --git a/go/types/stdlib_test.go b/go/types/stdlib_test.go index 6f206a227f7..7554f91578f 100644 --- a/go/types/stdlib_test.go +++ b/go/types/stdlib_test.go @@ -189,6 +189,13 @@ func typecheck(t *testing.T, path string, filenames []string) { files = append(files, file) } + // gcimporter doesn't support vendored imports. + // TODO(gri): fix. + if strings.HasSuffix(path, "src/cmd/internal/objfile") || + strings.HasSuffix(path, "src/net/http") { + return + } + // typecheck package files var conf Config conf.Error = func(err error) { t.Error(err) }