1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:24:41 -07:00
go/importer
Alan Donovan 548052f0fa go.tools/importer: honor the client's TypeChecker.{Import,Error} values.
This requires us to make a copy of (not clobber) the supplied
config, and retain their Import hook separately so that it can
be wrapped by Importer.doImport.

Fixes bug 6562.

R=gri
CC=golang-dev
https://golang.org/cl/14523054
2013-10-10 13:34:24 -04:00
..
testdata go.tools/importer: add unit test of LoadInitialPackages. 2013-09-10 10:39:51 -04:00
importer_test.go go.tools/importer: add unit test of LoadInitialPackages. 2013-09-10 10:39:51 -04:00
importer.go go.tools/importer: honor the client's TypeChecker.{Import,Error} values. 2013-10-10 13:34:24 -04:00
pkginfo.go go.tools/importer: change type of print{,ln} built-ins. 2013-10-10 13:33:29 -04:00
source_test.go go.tools/importer: expose CreatePackage method. 2013-10-10 12:37:49 -04:00
source.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
util.go go.tools: clear DeclarationErrors flag; it's redundant w.r.t go/types checking. 2013-10-08 10:34:36 -04:00