go/src/cmd/compile/internal/types2/stdlib_test.go

var stdLibImporter

func TestStdlib(t *testing.T) {}

type stdlibChecker

type futurePackage

func (c *stdlibChecker) Import(path string) (*Package, error) {}

func (c *stdlibChecker) ImportFrom(path, dir string, _ ImportMode) (*Package, error) {}

// getDirPackage gets the package defined in dir from the future cache.
//
// If this is the first goroutine requesting the package, getDirPackage
// type-checks.
func (c *stdlibChecker) getDirPackage(dir string) (*Package, error) {}

// firstComment returns the contents of the first non-empty comment in
// the given file, "skip", or the empty string. No matter the present
// comments, if any of them contains a build tag, the result is always
// "skip". Only comments within the first 4K of the file are considered.
// TODO(gri) should only read until we see "package" token.
func firstComment(filename string) (first string) {}

func testTestDir(t *testing.T, path string, ignore ...string) {}

func TestStdTest(t *testing.T) {}

func TestStdFixed(t *testing.T) {}

func TestStdKen(t *testing.T) {}

var excluded

var printPackageMu

// typecheckFiles typechecks the given package files.
func typecheckFiles(path string, filenames []string, importer Importer) (*Package, error) {}

// pkgFilenames returns the list of package filenames for the given directory.
func pkgFilenames(dir string, includeTest bool) ([]string, error) {}

func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...interface{}

type walker

func (w *walker) walk(dir string) {}