]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: rename loaded namedState to lazyLoaded
authorMark Freeman <mark@golang.org>
Mon, 20 Oct 2025 20:29:44 +0000 (16:29 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 23 Oct 2025 20:16:51 +0000 (13:16 -0700)
commit9fcdc814b200da8d7e5bc8c9b89e42393c26c63d
tree7de221ccd2d19135131c7a4cfbe8807175cc2e47
parent8401512a9be9db590622f237f2e087b5cd79c13c
go/types, types2: rename loaded namedState to lazyLoaded

This is a minor renaming to help differentiate the two kinds of loading
that can happen for named types (eager and lazy).

Use of the term "loaded" suggests that it might also apply to types
which are eagerly-loaded, which is not the case. This change uses
"lazyLoaded" instead to mark this difference.

Change-Id: Iee170024246d9adf3eed978bde2b0500f6d490b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/713282
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Mark Freeman <markfreeman@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/named.go
src/go/types/named.go