]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: check that alias type arguments satisfy constraints
authorRobert Griesemer <gri@golang.org>
Mon, 23 Sep 2024 20:02:16 +0000 (13:02 -0700)
committerRobert Griesemer <gri@google.com>
Tue, 24 Sep 2024 20:28:36 +0000 (20:28 +0000)
commit5a1de4ed34c476d443946c2d8bbf118ef389b968
tree2a27d2d558c5f1685b85cfec308aeb38f3b7f0fe
parent68bcef7e9f979b24f42bbddd3400cae97b9de846
go/types, types2: check that alias type arguments satisfy constraints

Fixes #69576.

Change-Id: I8fc077970276977dd89fc2dd3867f2765d52e54e
Reviewed-on: https://go-review.googlesource.com/c/go/+/615275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/call.go
src/cmd/compile/internal/types2/context.go
src/cmd/compile/internal/types2/instantiate.go
src/cmd/compile/internal/types2/typexpr.go
src/go/types/call.go
src/go/types/context.go
src/go/types/instantiate.go
src/go/types/typexpr.go
src/internal/types/testdata/fixedbugs/issue69576.go [new file with mode: 0644]