]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: operand.AssignableTo must consider Alias types
authorRobert Griesemer <gri@golang.org>
Tue, 21 May 2024 23:22:51 +0000 (16:22 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 22 May 2024 19:44:53 +0000 (19:44 +0000)
commit8d464e4ae36c09acfd73a5e3b6dc5a34b6f0202b
tree738c663c0a210f9066945ea7e5d8c69b9ecf83fd
parent44079f39eb751ff21cea18d795cc842b51910461
go/types, types2: operand.AssignableTo must consider Alias types

Fixes regression from Go 1.22.

For #67547.

Change-Id: Id0d07d6b24e1eab6ed1c7476d9d9b82d28aee80a
Reviewed-on: https://go-review.googlesource.com/c/go/+/587161
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Robert Findley <rfindley@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/operand.go
src/go/types/operand.go
src/internal/types/testdata/fixedbugs/issue67547.go