gofmt test.go
test.go:4:6: expected range clause
with test.go:
package main
func main() {
for _, c := range "foo" + "bar" {
println(c)
}
}
It should correctly parse the range clause.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: