]> Cypherpunks repositories - gostls13.git/commit
cmd/doc: continue to search when package import fails
authorMichael Fraenkel <michael.fraenkel@gmail.com>
Wed, 23 May 2018 21:23:35 +0000 (17:23 -0400)
committerRob Pike <r@golang.org>
Mon, 11 Jun 2018 22:09:14 +0000 (22:09 +0000)
commitd0d47bb94fcc018d03f47faa51f981b8902fc7cd
tree0e0514f6ba5d86fe639bfcdf63ab65e35355a821
parentf864d89ef7142687fabcbc28e9058868bce82468
cmd/doc: continue to search when package import fails

Keep searching for a package that is both findable and importable. The
current code would always guarantee that a package was findable but
exited if it was not importable.

Fixes #25478

Change-Id: I237b7dfafb930cae02538c4a2e4d5ce0c1058478
Reviewed-on: https://go-review.googlesource.com/114295
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/doc/doc_test.go
src/cmd/doc/main.go
src/cmd/doc/testdata/nested/ignore.go [new file with mode: 0644]
src/cmd/doc/testdata/nested/nested/real.go [new file with mode: 0644]