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:
parent
02990bd494
commit
2bf6947d09
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user