]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: underIs must consider Alias types
authorRobert Griesemer <gri@golang.org>
Tue, 21 May 2024 22:16:25 +0000 (15:16 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 21 May 2024 22:39:35 +0000 (22:39 +0000)
commitca17bda85638ae2a1e8e73ae624d83bb5e64ecfd
treee179836e380d1361dd17f2499c79f01e5c6f046a
parent4b778470f834f80aaa84d2066da12889e8ab285f
go/types, types2: underIs must consider Alias types

Fixes regression from Go 1.22.

For #67547.

Change-Id: I012681c7b8b01b02018b313dd3804690bc7aeed1
Reviewed-on: https://go-review.googlesource.com/c/go/+/587158
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/expr.go
src/go/types/expr.go
src/internal/types/testdata/fixedbugs/issue67547.go