typeparams: simplify now that minimum required Go is 1.25.0 This module has a go directive set to 1.25.0. Some of the files have build constraints that will therefore never be satisfied, such as the '//go:build !go1.18' constraint in the typeparams_go117.go file. Simplify the code accordingly. This includes deleting TestAPIConsistency because it has outlived its purpose. It's no longer possible to make the API of this package at Go 1.17 inconsistent with that of Go 1.18+ since this package cannot be compiled with Go 1.17 (not in any supported way). Its Go 1.18+ API may still evolve in a backwards compatible way via the Go proposal process. For golang/go#50447. For golang/go#79683. Change-Id: I7f9923625cfe54ca2031e996ffa2cc7e26d83eea Reviewed-on: https://go-review.googlesource.com/c/exp/+/783440 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
This subrepository holds experimental and deprecated (in the old directory) packages.
The idea for this subrepository originated as the pkg/exp directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.