mirror of
https://github.com/golang/go
synced 2024-11-22 00:14:42 -07:00
Recognize gccgo error message.
bug022.go:8:13: error: attempt to index object which is not array, string, or map R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31082 CL=31089
This commit is contained in:
parent
f1428b2910
commit
7ae0c67825
@ -9,7 +9,7 @@ package main
|
||||
func putint(digits *string) {
|
||||
var i byte;
|
||||
i = (*digits)[7]; // compiles
|
||||
i = digits[7]; // ERROR "illegal"
|
||||
i = digits[7]; // ERROR "illegal|is not"
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Loading…
Reference in New Issue
Block a user