]> Cypherpunks repositories - gostls13.git/commit
constraints: remove Slice/Map/Chan
authorIan Lance Taylor <iant@golang.org>
Wed, 27 Oct 2021 21:11:33 +0000 (14:11 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 27 Oct 2021 22:17:35 +0000 (22:17 +0000)
commit79ff663754f4238bd1fe2e56f460c2f603c71b80
tree2911e1c493c20b931e979e3369cae48bef478409
parent749f6e9eb6d101ef2ea4b7228a966391a80aa89b
constraints: remove Slice/Map/Chan

Now that we permit arbitrary types as constraints, we no longer need them.

For #48424

Change-Id: I15fef26a563988074650cb0801895b002c44148a
Reviewed-on: https://go-review.googlesource.com/c/go/+/359258
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/constraints/constraints.go
src/constraints/constraints_test.go
test/typeparam/issue48609.go