]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: better index-out-of-bounds error message (cleanup)
authorRobert Griesemer <gri@golang.org>
Mon, 28 Mar 2022 22:30:37 +0000 (15:30 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 29 Mar 2022 17:21:15 +0000 (17:21 +0000)
commit9038c244983e66294781f83e30239623a08672f5
tree793eaed6ed16e72e163afb09569b773fbce2840c
parenta2baae6851a157d662dff7cc508659f66249698a
go/types, types2: better index-out-of-bounds error message (cleanup)

Use the 1.17 compiler error message, sans "array" prefix.

Change-Id: I0e70781c5ff02dca30a2004ab4d0ea82b0849eae
Reviewed-on: https://go-review.googlesource.com/c/go/+/396296
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/index.go
src/go/types/index.go
test/fixedbugs/issue13365.go