gc: avoid meaningless constant overflow error for inverted slice range
Used to say: issue4251.go:12: inverted slice range issue4251.go:12: constant -1 overflows uint64 issue4251.go:16: inverted slice range issue4251.go:16: constant -1 overflows uint64 issue4251.go:20: inverted slice range issue4251.go:20: constant -1 overflows uint64 With this patch, only gives the "inverted slice range" errors. R=golang-dev, daniel.morsing CC=golang-dev https://golang.org/cl/6871058
Showing
test/fixedbugs/issue4251.go
0 → 100644
Please
register
or
sign in
to comment