1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:04:46 -07:00

go.tools/cmd/gotype: fix call site (fix build)

TBR=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/101330046
This commit is contained in:
Robert Griesemer 2014-06-17 11:06:19 -07:00
parent 02990bd494
commit 2bf6947d09

View File

@ -200,7 +200,7 @@ func checkPkgFiles(files []*ast.File) {
if *gccgo {
var inst gccgoimporter.GccgoInstallation
inst.InitFromDriver("gccgo")
conf.Import = inst.GetImporter(nil)
conf.Import = inst.GetImporter(nil, nil)
}
defer func() {