]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: pull up package-level object sort to a separate phase
authorMark Freeman <mark@golang.org>
Mon, 27 Oct 2025 20:37:16 +0000 (16:37 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 28 Oct 2025 15:29:09 +0000 (08:29 -0700)
commit1f4d14e493516af6017ed9b467e7daf772752f98
treeef1c2be7cad3ddc3f8849f649220b4d838d7e733
parentb8aa1ee442921b9517b53bf079ff5b4c2c89a54d
go/types, types2: pull up package-level object sort to a separate phase

This step allows future additional phases to reuse the sorted object
list. Preparation for upcoming CLs.

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