mirror of
https://github.com/golang/go
synced 2025-05-24 14:55:02 +00:00
test: fix build
syntax/*: update messages sliceerr3.go: bizarre new error fixed by deleting a space. I could have sworn I ran all.bash before submitting the CL that triggered these. TBR=golang-dev@googlegroups.com R=golang-dev CC=golang-dev https://golang.org/cl/12812044
This commit is contained in:
@ -20,7 +20,7 @@ func f() {
|
||||
_ = array[::] // ERROR "middle index required in 3-index slice" "final index required in 3-index slice"
|
||||
_ = array[i::] // ERROR "middle index required in 3-index slice" "final index required in 3-index slice"
|
||||
_ = array[:j:] // ERROR "final index required in 3-index slice"
|
||||
_ = array[i:j:] // ERROR "final index required in 3-index slice"
|
||||
_ = array[i:j:] // ERROR "final index required in 3-index slice"
|
||||
_ = array[::k] // ERROR "middle index required in 3-index slice"
|
||||
_ = array[i::k] // ERROR "middle index required in 3-index slice"
|
||||
_ = array[:j:k]
|
||||
|
Reference in New Issue
Block a user