mirror of
https://github.com/golang/go.git
synced 2025-05-28 10:51:22 +00:00
Previously we would type check all package handles as we fetched them. This meant if you only cared about a file's primary package you would still have to wait for all its packages to be type checked. For example, when completing in foo.go, you would wait for [foo.go] and [foo.go, foo_test.go] to be checked (the latter being the test variant). Now we don't type check packages as we put together the package handles. Change-Id: Ibca0c6b34cf4f0a07bcdeb62959d60158f4ccf17 Reviewed-on: https://go-review.googlesource.com/c/tools/+/195417 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>