|author||Ian Lance Taylor <email@example.com>||Fri Nov 11 11:48:19 2022 -0800|
|committer||Gopher Robot <firstname.lastname@example.org>||Fri Nov 11 20:48:11 2022 +0000|
slices: don't accept out of order indexes in Replace Panic instead, as documented. Fixes golang/go#56700 Change-Id: I47000f6f190278a54056cd229cb5a9bb5a6c1a90 Reviewed-on: https://go-review.googlesource.com/c/exp/+/449915 Reviewed-by: Keith Randall <email@example.com> Reviewed-by: Keith Randall <firstname.lastname@example.org> Auto-Submit: Ian Lance Taylor <email@example.com> Run-TryBot: Ian Lance Taylor <firstname.lastname@example.org> TryBot-Result: Gopher Robot <email@example.com> Run-TryBot: Ian Lance Taylor <firstname.lastname@example.org> Reviewed-by: Ian Lance Taylor <email@example.com>
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.)