mirror of https://github.com/golang/go.git
Only add files in errors if either the error's import stack is empty, or the import stack's top package is the same as the package itself, so we have more confidence that the error applies to the package. This is bound to be flaky, but shouldn't be worse than the current state. (And it unblocks a cl from going into the RC...). Updates golang/go#40544 Change-Id: Ie21a8abec7150800d3d34b94a7ec90fd40d93fe9 Reviewed-on: https://go-review.googlesource.com/c/tools/+/246758 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| gopackages | ||
| packagestest | ||
| doc.go | ||
| example_test.go | ||
| external.go | ||
| golist.go | ||
| golist_overlay.go | ||
| loadmode_string.go | ||
| overlay_test.go | ||
| packages.go | ||
| packages_test.go | ||
| stdlib_test.go | ||
| visit.go | ||