diff options
| author | Bryan C. Mills <bcmills@google.com> | 2023-06-29 15:22:32 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-07-20 21:23:25 +0000 |
| commit | 884aa71f5126d10f7fa4cbf2dd643b3595763908 (patch) | |
| tree | 36527353a6515b133b690fec27d4d9bb34d2f0db /src/runtime | |
| parent | 7b625d1f65a6224968d8668c1ae1b0730dabb605 (diff) | |
| download | go-884aa71f5126d10f7fa4cbf2dd643b3595763908.tar.xz | |
go/internal/gcimporter: propagate errors from FindPkg
Previously, FindPkg returned the empty string as a sentinel value,
causing Import to collapse all errors to "can't find import".
(See also https://go.dev/wiki/CodeReviewComments#in-band-errors.)
For #61064.
Change-Id: I21f335d206308b44fe585619e00782abb0b65a94
Reviewed-on: https://go-review.googlesource.com/c/go/+/507360
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
