go/pkg/mod/golang.org/x/[email protected]/go/types/objectpath/objectpath_test.go

func TestPaths(t *testing.T) {}

func testPaths(t *testing.T, gotypesalias int) {}

type pathTest

func testPath(prog *loader.Program, test pathTest) error {}

// TestSourceAndExportData uses objectpath to compute a correspondence
// of objects between two versions of the same package, one loaded from
// source, the other from export data.
func TestSourceAndExportData(t *testing.T) {}

func objectString(obj types.Object) string {}

// TestOrdering uses objectpath over two Named types with the same method
// names but in a different source order and checks that objectpath is the
// same for methods with the same name.
func TestOrdering(t *testing.T) {}

// TODO(adonovan): use go1.21 slices.Contains.
func slicesContains[S ~[]E, E comparable](slice S, x E) bool {}