Skip to content

Commit c9143db

Browse files
committed
review: format and default compiler
1 parent b6b8ce0 commit c9143db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/goanalysis/runner_loadingpackage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (lp *loadingPackage) loadFromSource(loadMode LoadMode) error {
165165
pkg.Errors = append(pkg.Errors, lp.convertError(err)...)
166166
},
167167
GoVersion: rv, // TODO(ldez) temporary workaround
168-
Sizes: types.SizesFor("gc", build.Default.GOARCH),
168+
Sizes: types.SizesFor(build.Default.Compiler, build.Default.GOARCH),
169169
}
170170

171171
_ = types.NewChecker(tc, pkg.Fset, pkg.Types, pkg.TypesInfo).Files(pkg.Syntax)

0 commit comments

Comments
 (0)