]> Cypherpunks repositories - gostls13.git/commit
Revert "go/types, types2: don't register interface methods in Info.Types map"
authorRobert Findley <rfindley@google.com>
Mon, 23 Jun 2025 14:04:06 +0000 (07:04 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 23 Jun 2025 15:16:05 +0000 (08:16 -0700)
commit1cf6386b5ee1ba7d367b6456c2c6888ab68c3ec8
treebef6a243afd24f677073f808257b0eb0c03c45ca
parent49cdf0c42e320dfed044baa551610f081eafb781
Revert "go/types, types2: don't register interface methods in Info.Types map"

This reverts commit 4ac729283c807cdbe0f6c7041f21606019b722cf.

Reason for revert: changes semantics of types.Info.TypeOf; introduces new inconsistency around FieldList types.

For #74303

Change-Id: Ib99558c95f1b615fa9a02b028500ed230c8bb185
Reviewed-on: https://go-review.googlesource.com/c/go/+/683297
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Robert Findley <rfindley@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/cmd/compile/internal/types2/interface.go
src/go/types/interface.go