]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] go/types: port lazy import resolution from types2
authorRob Findley <rfindley@google.com>
Fri, 16 Jul 2021 02:06:38 +0000 (22:06 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 16 Jul 2021 23:04:27 +0000 (23:04 +0000)
commitb296e54618ea09b89154173a2bfb200203a731bf
treef0250680d3964bad6df4209791132c6b5d8878c0
parent10c8b7c1d7bb973a0b2bc6858b4d5b705cdaa402
[dev.typeparams] go/types: port lazy import resolution from types2

This is a straightforward port of CL 323569 to go/types. It is
line-for-line identical, except where names are unexported to preserve
the current go/types API.

Change-Id: I4c78211bff90f982ca2e90ed224946716118ee31
Reviewed-on: https://go-review.googlesource.com/c/go/+/334893
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
17 files changed:
src/go/types/check.go
src/go/types/decl.go
src/go/types/instantiate.go
src/go/types/labels.go
src/go/types/lookup.go
src/go/types/object.go
src/go/types/predicates.go
src/go/types/resolver.go
src/go/types/sanitize.go
src/go/types/scope.go
src/go/types/signature.go
src/go/types/sizeof_test.go
src/go/types/stmt.go
src/go/types/subst.go
src/go/types/type.go
src/go/types/typestring.go
src/go/types/typexpr.go