mirror of
https://github.com/golang/go
synced 2025-08-06 01:01:44 +00:00
When a floating point constant is used as an array/slice index, gccgo prints "error: index must be integer"; gc prints "constant 2.1 truncated to integer". R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/14044044
6.4 KiB
6.4 KiB