Skip to content

Commit 23ceda3

Browse files
committed
fix: no export data must always be handle as a typecheck error
1 parent 374a8cf commit 23ceda3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/goanalysis/runner_loadingpackage.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ func (lp *loadingPackage) loadImportedPackageWithFacts(loadMode LoadMode) error
338338
Msg: fmt.Sprintf("could not load export data: %s", err),
339339
Kind: packages.ParseError,
340340
})
341-
return fmt.Errorf("could not load export data: %w", err)
341+
342+
return nil
342343
}
343344
}
344345

0 commit comments

Comments
 (0)