go/pointer: Remove a mention of the deleted ImportFromBinary option.
Change-Id: I9ca8a5b37afc6ae9603849d233ee6b4976e2b973 Reviewed-on: https://go-review.googlesource.com/9462 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
7534f4943d
commit
863c9c67a8
|
@ -255,7 +255,7 @@ func Analyze(config *Config) (result *Result, err error) {
|
||||||
// (This only checks that the package scope is complete,
|
// (This only checks that the package scope is complete,
|
||||||
// not that func bodies exist, but it's a good signal.)
|
// not that func bodies exist, but it's a good signal.)
|
||||||
if !pkg.Object.Complete() {
|
if !pkg.Object.Complete() {
|
||||||
return nil, fmt.Errorf(`pointer analysis requires a complete program yet package %q was incomplete (don't set loader.Config.ImportFromBinary during loading)`, pkg.Object.Path())
|
return nil, fmt.Errorf(`pointer analysis requires a complete program yet package %q was incomplete`, pkg.Object.Path())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue