]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: move to exp/types per Go 1 plan
authorRobert Griesemer <gri@golang.org>
Thu, 13 Oct 2011 22:41:48 +0000 (15:41 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 13 Oct 2011 22:41:48 +0000 (15:41 -0700)
This package is only used by gotype at the moment.

R=rsc, r
CC=golang-dev
https://golang.org/cl/5266042

13 files changed:
src/cmd/gotype/gotype.go
src/pkg/Makefile
src/pkg/exp/types/Makefile [moved from src/pkg/go/types/Makefile with 95% similarity]
src/pkg/exp/types/check.go [moved from src/pkg/go/types/check.go with 100% similarity]
src/pkg/exp/types/check_test.go [moved from src/pkg/go/types/check_test.go with 100% similarity]
src/pkg/exp/types/const.go [moved from src/pkg/go/types/const.go with 100% similarity]
src/pkg/exp/types/exportdata.go [moved from src/pkg/go/types/exportdata.go with 100% similarity]
src/pkg/exp/types/gcimporter.go [moved from src/pkg/go/types/gcimporter.go with 100% similarity]
src/pkg/exp/types/gcimporter_test.go [moved from src/pkg/go/types/gcimporter_test.go with 100% similarity]
src/pkg/exp/types/testdata/exports.go [moved from src/pkg/go/types/testdata/exports.go with 100% similarity]
src/pkg/exp/types/testdata/test0.src [moved from src/pkg/go/types/testdata/test0.src with 100% similarity]
src/pkg/exp/types/types.go [moved from src/pkg/go/types/types.go with 100% similarity]
src/pkg/exp/types/universe.go [moved from src/pkg/go/types/universe.go with 100% similarity]

index e5e9417ff186fc263158e6c0513d4f7239cc4bce..9199213007793601c06de9e557bbf7ba991616bf 100644 (file)
@@ -5,13 +5,13 @@
 package main
 
 import (
+       "exp/types"
        "flag"
        "fmt"
        "go/ast"
        "go/parser"
        "go/scanner"
        "go/token"
-       "go/types"
        "io/ioutil"
        "os"
        "path/filepath"
index ae5859ab44d6b551f82be89620248eb54ee888cc..d823d2f3beb15f4f82bef7a7d8a3616afb71bab6 100644 (file)
@@ -85,6 +85,7 @@ DIRS=\
        exp/sql\
        exp/sql/driver\
        exp/template/html\
+       exp/types\
        expvar\
        flag\
        fmt\
@@ -95,7 +96,6 @@ DIRS=\
        go/printer\
        go/scanner\
        go/token\
-       go/types\
        gob\
        hash\
        hash/adler32\
similarity index 95%
rename from src/pkg/go/types/Makefile
rename to src/pkg/exp/types/Makefile
index d21ebc128f5594205fddaba7e14bc97d1492a4bb..e8fec9f3efb2b2b095353c6da522375ddf88e01d 100644 (file)
@@ -4,7 +4,7 @@
 
 include ../../../Make.inc
 
-TARG=go/types
+TARG=exp/types
 GOFILES=\
        check.go\
        const.go\