1
0
mirror of https://github.com/golang/go synced 2024-11-05 16:16:11 -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 { if *gccgo {
var inst gccgoimporter.GccgoInstallation var inst gccgoimporter.GccgoInstallation
inst.InitFromDriver("gccgo") inst.InitFromDriver("gccgo")
conf.Import = inst.GetImporter(nil) conf.Import = inst.GetImporter(nil, nil)
} }
defer func() { defer func() {