mirror of https://github.com/golang/go.git
This change combines the two packages.Load calls that happen on view creation. Builtins can be loaded along with the rest of the workspace. To avoid race conditions, create a builtinPackageHandle type for builtins and use it to create the data. Updates golang/go#36531 Change-Id: I7aa342c463a0b7718e1ad5fee507622310d8443b Reviewed-on: https://go-review.googlesource.com/c/tools/+/214877 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| analysis.go | ||
| cache.go | ||
| check.go | ||
| debug.go | ||
| error_test.go | ||
| errors.go | ||
| external.go | ||
| load.go | ||
| modfiles.go | ||
| overlay.go | ||
| parse.go | ||
| parse_mod.go | ||
| pkg.go | ||
| session.go | ||
| snapshot.go | ||
| view.go | ||