mirror of
https://github.com/golang/go
synced 2024-11-05 16:26: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:
parent
02990bd494
commit
2bf6947d09
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user