]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: move Checker.indexedElts into literals.go where it belongs
authorRobert Griesemer <gri@golang.org>
Tue, 24 Sep 2024 21:08:28 +0000 (14:08 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 24 Sep 2024 23:20:50 +0000 (23:20 +0000)
commitb17a55d0953429c9b23ef89407734ac9bba159f5
treef0698944856895019af8a35b36431d5466a8e742
parent681751a1fed4467e98d54d7f6cc1c5b9feea0833
go/types, types2: move Checker.indexedElts into literals.go where it belongs

The function is only used by Checker.compositeLit.
Also, now its go/types source can be gerated from the types2 source.
No other code changes.

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