Commit d8935731 authored by Bryan C. Mills's avatar Bryan C. Mills

cmd/go: fix outdated comments

Change-Id: I09532546c96b3758f76528fb5010dafc638139b8
Reviewed-on: https://go-review.googlesource.com/128135Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent a9dcbab0
......@@ -42,7 +42,7 @@ func (e *ImportMissingError) Error() string {
// If the package cannot be found in the current build list,
// Import returns an ImportMissingError as the error.
// If Import can identify a module that could be added to supply the package,
// the ImportMissingErr records that module.
// the ImportMissingError records that module.
func Import(path string) (m module.Version, dir string, err error) {
if strings.Contains(path, "@") {
return module.Version{}, "", fmt.Errorf("import path should not have @version")
......
......@@ -504,9 +504,6 @@ func (ld *loader) load(roots func() []string) {
}
}
}
// Check for visibility violations.
// TODO!
}
// pkg returns the *loadPkg for path, creating and queuing it if needed.
......
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