diff --git a/cmd/gotype/gotype.go b/cmd/gotype/gotype.go index efc5a4c1..2479ecd8 100644 --- a/cmd/gotype/gotype.go +++ b/cmd/gotype/gotype.go @@ -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() {