mirror of https://github.com/golang/go.git
Raising an out-of-bounds panic is confusing. There's no indication that the underlying problem is a race. The runtime already does a pretty good job of detecting this kind of race (modification while iterating). We might as well just reorganize a bit to avoid the out-of-bounds panic. Fixes #33275 Change-Id: Icdd337ad2eb3c84f999db0850ec1d2ff2c146b6e Reviewed-on: https://go-review.googlesource.com/c/go/+/191197 Reviewed-by: Martin Möhrmann <moehrmann@google.com> |
||
|---|---|---|
| .. | ||
| bytealg | ||
| cfg | ||
| cpu | ||
| fmtsort | ||
| goroot | ||
| goversion | ||
| lazyregexp | ||
| lazytemplate | ||
| nettrace | ||
| oserror | ||
| poll | ||
| race | ||
| reflectlite | ||
| singleflight | ||
| syscall | ||
| testenv | ||
| testlog | ||
| trace | ||
| xcoff | ||