Commit bb6be3ab authored by Robert Griesemer's avatar Robert Griesemer

go/types: clarify doc string for types.Check

For #12787.

Change-Id: I921d01c8d7d97f3453b25e6d2241a43c5d64f53b
Reviewed-on: https://go-review.googlesource.com/15150Reviewed-by: default avatarAlan Donovan <adonovan@google.com>
parent 0e5b4eb0
...@@ -297,8 +297,10 @@ func (init *Initializer) String() string { ...@@ -297,8 +297,10 @@ func (init *Initializer) String() string {
return buf.String() return buf.String()
} }
// Check type-checks a package and returns the resulting package object, // Check type-checks a package and returns the resulting package object and
// the first error if any, and if info != nil, additional type information. // the first error if any. Additionally, if info != nil, Check populates each
// of the non-nil maps in the Info struct.
//
// The package is marked as complete if no errors occurred, otherwise it is // The package is marked as complete if no errors occurred, otherwise it is
// incomplete. See Config.Error for controlling behavior in the presence of // incomplete. See Config.Error for controlling behavior in the presence of
// errors. // errors.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment