dominikh/go-importer — pull request #4 by shurcooL (2014-11-10 09:25:31+00:00)
Title: Use new golang.org/x/... import paths.

See http://golang.org/s/go14subrepo.

Fixes the following compile errors after one updates to latest `code.google.com/p/...` packages (that use the new `golang.org/x/...` import paths internally):

```
importer $ go build
# honnef.co/go/importer
./importer.go:72: cannot use imp.Imports (type map[string]*"code.google.com/p/go.tools/go/types".Package) as type map[string]*"golang.org/x/tools/go/types".Package in argument to gcimporter.Import
./importer.go:72: cannot assign *"golang.org/x/tools/go/types".Package to pkg (type *"code.google.com/p/go.tools/go/types".Package) in multiple assignment
./importer.go:150: cannot use imp.Imports (type map[string]*"code.google.com/p/go.tools/go/types".Package) as type map[string]*"golang.org/x/tools/go/types".Package in argument to gcimporter.Import
./importer.go:152: cannot use gcPkg (type *"golang.org/x/tools/go/types".Package) as type *"code.google.com/p/go.tools/go/types".Package in argument to imported
./importer.go:154: cannot use gcPkg (type *"golang.org/x/tools/go/types".Package) as type *"code.google.com/p/go.tools/go/types".Package in return argument
```