mirror of
https://github.com/golang/go
synced 2024-11-18 18:44:42 -07:00
go.tools/go/types: clearer documentation
(Follow-up of CL feedback.) R=adonovan CC=golang-dev https://golang.org/cl/13333047
This commit is contained in:
parent
0b534359c5
commit
b591789053
@ -52,9 +52,11 @@ type Config struct {
|
||||
IgnoreFuncBodies bool
|
||||
|
||||
// If FakeImportC is set, `import "C"` (for packages requiring Cgo)
|
||||
// and expressions with qualified identifiers referring to package
|
||||
// C are silently ignored.
|
||||
// Caution: Effects may be unpredictable - do not use casually!
|
||||
// declares an empty "C" package and errors are omitted for qualified
|
||||
// identifiers referring to package C (which won't find an object).
|
||||
// Caution: Effects may be unpredictable due to unpredictable follow-
|
||||
// up errors - do not use casually! This feature is mainly intended
|
||||
// for the standard library cmd/api tool.
|
||||
FakeImportC bool
|
||||
|
||||
// If Error != nil, it is called with each error found
|
||||
|
Loading…
Reference in New Issue
Block a user