]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: factor out typechecker-specific code from recording.go
authorRobert Griesemer <gri@golang.org>
Wed, 31 Jul 2024 16:59:28 +0000 (09:59 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 31 Jul 2024 21:30:46 +0000 (21:30 +0000)
commit1b6bb779ef92de489a51b177035362795636624b
tree6ba5b41d2f5a1939d15d6b00f8ca0f48000349d9
parentc5de95076669ad2416aeec941912af723f2ccf78
go/types, types2: factor out typechecker-specific code from recording.go

With this CL, the go/types and types2 recording.go files are
mostly identical except for the use of different syntax trees.
Preparation for generating go/types/recording.go from types2
sources.

Change-Id: Iea85f8554ee04f1e1f7da63f8019725ac8f6caf5
Reviewed-on: https://go-review.googlesource.com/c/go/+/602117
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/check.go
src/cmd/compile/internal/types2/recording.go
src/go/types/check.go
src/go/types/recording.go