]> Cypherpunks repositories - gostls13.git/commit
cmd/go: check for source files in relative paths before attempting to determine the...
authorBryan C. Mills <bcmills@google.com>
Tue, 9 Jul 2019 21:41:37 +0000 (17:41 -0400)
committerBryan C. Mills <bcmills@google.com>
Mon, 15 Jul 2019 16:53:05 +0000 (16:53 +0000)
commitb9edee32e15eb2ea66fe96563088520fff6f2535
treef7848138da39e95bebffd96df3bcbe023cce6293
parent4b3658880752ca30a2ad5f2dc33a9bee9ff91de4
cmd/go: check for source files in relative paths before attempting to determine the package path

This is a more minimial fix for the immediate symptom of 32917 and
30590, but does not improve 'list -e' behavior or error
messages resulting from other package loading issues.

Fixes #32917
Fixes #30590

Change-Id: I6088d14d864410159ebf228d9392d186322fd2a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/185417
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modload/load.go
src/cmd/go/testdata/script/mod_dot.txt [new file with mode: 0644]
src/cmd/go/testdata/script/mod_fs_patterns.txt
src/cmd/go/testdata/script/mod_list_dir.txt
src/cmd/go/testdata/script/mod_list_replace_dir.txt