]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: moved from exp/types
authorRobert Griesemer <gri@golang.org>
Fri, 28 Dec 2012 19:41:44 +0000 (11:41 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 28 Dec 2012 19:41:44 +0000 (11:41 -0800)
This is a just a file move with no other changes
besides the manual import path adjustments in these
two files:

src/pkg/exp/gotype/gotype.go
src/pkg/exp/gotype/gotype_test.go

Note: The go/types API continues to be subject to
possibly significant changes until Go 1.1. Do not
rely on it being stable at this point.

R=adonovan
CC=golang-dev
https://golang.org/cl/7013049

34 files changed:
src/pkg/exp/gotype/gotype.go
src/pkg/exp/gotype/gotype_test.go
src/pkg/go/types/api.go [moved from src/pkg/exp/types/api.go with 100% similarity]
src/pkg/go/types/builtins.go [moved from src/pkg/exp/types/builtins.go with 100% similarity]
src/pkg/go/types/check.go [moved from src/pkg/exp/types/check.go with 100% similarity]
src/pkg/go/types/check_test.go [moved from src/pkg/exp/types/check_test.go with 100% similarity]
src/pkg/go/types/const.go [moved from src/pkg/exp/types/const.go with 100% similarity]
src/pkg/go/types/conversions.go [moved from src/pkg/exp/types/conversions.go with 100% similarity]
src/pkg/go/types/errors.go [moved from src/pkg/exp/types/errors.go with 100% similarity]
src/pkg/go/types/exportdata.go [moved from src/pkg/exp/types/exportdata.go with 100% similarity]
src/pkg/go/types/expr.go [moved from src/pkg/exp/types/expr.go with 100% similarity]
src/pkg/go/types/gcimporter.go [moved from src/pkg/exp/types/gcimporter.go with 100% similarity]
src/pkg/go/types/gcimporter_test.go [moved from src/pkg/exp/types/gcimporter_test.go with 100% similarity]
src/pkg/go/types/operand.go [moved from src/pkg/exp/types/operand.go with 100% similarity]
src/pkg/go/types/predicates.go [moved from src/pkg/exp/types/predicates.go with 100% similarity]
src/pkg/go/types/resolver_test.go [moved from src/pkg/exp/types/resolver_test.go with 100% similarity]
src/pkg/go/types/stmt.go [moved from src/pkg/exp/types/stmt.go with 100% similarity]
src/pkg/go/types/testdata/builtins.src [moved from src/pkg/exp/types/testdata/builtins.src with 100% similarity]
src/pkg/go/types/testdata/const0.src [moved from src/pkg/exp/types/testdata/const0.src with 100% similarity]
src/pkg/go/types/testdata/conversions.src [moved from src/pkg/exp/types/testdata/conversions.src with 100% similarity]
src/pkg/go/types/testdata/decls0.src [moved from src/pkg/exp/types/testdata/decls0.src with 100% similarity]
src/pkg/go/types/testdata/decls1.src [moved from src/pkg/exp/types/testdata/decls1.src with 100% similarity]
src/pkg/go/types/testdata/decls2a.src [moved from src/pkg/exp/types/testdata/decls2a.src with 100% similarity]
src/pkg/go/types/testdata/decls2b.src [moved from src/pkg/exp/types/testdata/decls2b.src with 100% similarity]
src/pkg/go/types/testdata/decls3.src [moved from src/pkg/exp/types/testdata/decls3.src with 100% similarity]
src/pkg/go/types/testdata/exports.go [moved from src/pkg/exp/types/testdata/exports.go with 100% similarity]
src/pkg/go/types/testdata/expr0.src [moved from src/pkg/exp/types/testdata/expr0.src with 100% similarity]
src/pkg/go/types/testdata/expr1.src [moved from src/pkg/exp/types/testdata/expr1.src with 100% similarity]
src/pkg/go/types/testdata/expr2.src [moved from src/pkg/exp/types/testdata/expr2.src with 100% similarity]
src/pkg/go/types/testdata/expr3.src [moved from src/pkg/exp/types/testdata/expr3.src with 100% similarity]
src/pkg/go/types/testdata/stmt0.src [moved from src/pkg/exp/types/testdata/stmt0.src with 100% similarity]
src/pkg/go/types/types.go [moved from src/pkg/exp/types/types.go with 100% similarity]
src/pkg/go/types/types_test.go [moved from src/pkg/exp/types/types_test.go with 100% similarity]
src/pkg/go/types/universe.go [moved from src/pkg/exp/types/universe.go with 100% similarity]

index 67475e664a40a698b591c64789d1c6b5136dfda6..311def89f5f93ca36c65a4db824e43e8d8c54133 100644 (file)
@@ -6,13 +6,13 @@ package main
 
 import (
        "errors"
-       "exp/types"
        "flag"
        "fmt"
        "go/ast"
        "go/parser"
        "go/scanner"
        "go/token"
+       "go/types"
        "io/ioutil"
        "os"
        "path/filepath"
index 755336871e56fa206d620395b359ea3e9040c35c..405093b2aeefbc8e8c7c970806c03592363a2f0a 100644 (file)
@@ -117,7 +117,6 @@ var tests = []string{
        "flag",
        "fmt",
 
-       "exp/types",
        "exp/gotype",
 
        "go/ast",
@@ -128,6 +127,7 @@ var tests = []string{
        "go/printer",
        "go/scanner",
        // "go/token",
+       "go/types",
 
        "hash/adler32",
        "hash/crc32",