commit | 129d8d6c17abbf96ef6b7ef8da3ce10391c6a37c | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Fri Nov 11 11:48:19 2022 -0800 |
committer | Gopher Robot <gobot@golang.org> | Fri Nov 11 20:48:11 2022 +0000 |
tree | b47b2508ba1b9007bcc4b3209eedf223a9ae658a | |
parent | ab4555d3164f2317692e8c38ba0d8f4ab031e4e0 [diff] |
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 <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.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.)
Caveat emptor.