go/types, go/exact: "vendor" go/types into std repo
This is a first step towards moving go/types from the tools repo into the std repo. The files were brought over via the added src/go/types.bash script for reproducability. The script can be removed once all dependencies on go/types have moved to the std repo go/types. The script moved packages as follows: - x/tools/go/types => go/types (type-checker) - x/tools/go/exact => go/exact (constants) - x/tools/go/gcimporter => go/types/internal/gcimporter The gcimporter is needed to be able to run tests. go/types should probably have some factory function to provide an appropriate importer. Some of the go/types tests fail for a handful of platforms (windows and nacl). In order to keep this change "clean" from manual changes, the next change will disable those tests for now so we can move forward. Change-Id: I448d8f7faa39ad2e04811911b699f7682627c224 Reviewed-on: https://go-review.googlesource.com/8530Reviewed-by: Rob Pike <r@golang.org>
Showing
src/go/exact/exact.go
0 → 100644
This diff is collapsed.
src/go/exact/exact_test.go
0 → 100644
src/go/exact/go13.go
0 → 100644
src/go/exact/go14.go
0 → 100644
src/go/types.bash
0 → 100644
src/go/types/api.go
0 → 100644
This diff is collapsed.
src/go/types/api_test.go
0 → 100644
This diff is collapsed.
src/go/types/assignments.go
0 → 100644
src/go/types/builtins.go
0 → 100644
This diff is collapsed.
src/go/types/call.go
0 → 100644
This diff is collapsed.
src/go/types/check.go
0 → 100644
This diff is collapsed.
src/go/types/check_test.go
0 → 100644
src/go/types/conversions.go
0 → 100644
This diff is collapsed.
src/go/types/decl.go
0 → 100644
This diff is collapsed.
src/go/types/errors.go
0 → 100644
This diff is collapsed.
src/go/types/eval.go
0 → 100644
This diff is collapsed.
src/go/types/eval_test.go
0 → 100644
This diff is collapsed.
src/go/types/expr.go
0 → 100644
This diff is collapsed.
src/go/types/exprstring.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
src/go/types/go11.go
0 → 100644
src/go/types/go12.go
0 → 100644
This diff is collapsed.
src/go/types/hilbert_test.go
0 → 100644
This diff is collapsed.
src/go/types/initorder.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/go/types/issues_test.go
0 → 100644
This diff is collapsed.
src/go/types/labels.go
0 → 100644
This diff is collapsed.
src/go/types/lookup.go
0 → 100644
This diff is collapsed.
src/go/types/methodset.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
src/go/types/object.go
0 → 100644
This diff is collapsed.
src/go/types/objset.go
0 → 100644
This diff is collapsed.
src/go/types/operand.go
0 → 100644
This diff is collapsed.
src/go/types/ordering.go
0 → 100644
This diff is collapsed.
src/go/types/package.go
0 → 100644
This diff is collapsed.
src/go/types/predicates.go
0 → 100644
This diff is collapsed.
src/go/types/resolver.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
src/go/types/return.go
0 → 100644
This diff is collapsed.
src/go/types/scope.go
0 → 100644
This diff is collapsed.
src/go/types/selection.go
0 → 100644
This diff is collapsed.
src/go/types/self_test.go
0 → 100644
This diff is collapsed.
src/go/types/sizes.go
0 → 100644
This diff is collapsed.
src/go/types/stdlib_test.go
0 → 100644
This diff is collapsed.
src/go/types/stmt.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/go/types/token_test.go
0 → 100644
This diff is collapsed.
src/go/types/type.go
0 → 100644
This diff is collapsed.
src/go/types/typestring.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
src/go/types/typexpr.go
0 → 100644
This diff is collapsed.
src/go/types/universe.go
0 → 100644
This diff is collapsed.
Please
register
or
sign in
to comment