mirror of
https://github.com/golang/go
synced 2024-11-18 18:34:40 -07:00
6dcdf1db2c
Now that we build PackageHandles in load, we can simplify a lot of our logic for rebuilding them and reloading metadata. The only possibly-significant change is the missing imports logic. Now that we always create package handles in load, we don't have to do the extra "sameSet" logic. If the package handle hasn't been invalidated since we last built it, we will keep the benefits of caching it. Otherwise, it will be rebuilt in load. Updates golang/go#36918 Change-Id: Ieb45898d248501e3cebdb95c8b518149ba7498e5 Reviewed-on: https://go-review.googlesource.com/c/tools/+/217157 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
debug.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
load.go | ||
mod_tidy.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go |