mirror of
https://github.com/golang/go
synced 2024-11-18 19:54:44 -07:00
9611592c72
As far as I can tell, the code I removed in from load did roughly nothing -- returning nil metadata didn't suppress type checking as I think was intended. Throwing away the metadata also created the race in Pull the check for missing import changes up to PackageHandles, where it is non-racy and can cause type checking to be skipped. Simplify and refactor. Fixes golang/go#35951. Change-Id: Id4b32b86569afb36863aaf982616b2b3727b0e83 Reviewed-on: https://go-review.googlesource.com/c/tools/+/209737 Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
analysis.go | ||
builtin.go | ||
cache.go | ||
check.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
file.go | ||
load.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go | ||
watcher.go |