From: Ian Lance Taylor Date: Wed, 21 Oct 2009 18:42:09 +0000 (-0700) Subject: Match gccgo error messages. X-Git-Tag: weekly.2009-11-06~241 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d7ad3c4e868f992cc64c2201d631a5bdd0f1b731;p=gostls13.git Match gccgo error messages. bug205.go:14:12: error: index must be integer bug205.go:15:12: error: index must be integer bug205.go:16:12: error: incompatible type for map index R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=35957 CL=35960 --- diff --git a/test/fixedbugs/bug205.go b/test/fixedbugs/bug205.go index 5fb0a0d16b..4262ec10dc 100644 --- a/test/fixedbugs/bug205.go +++ b/test/fixedbugs/bug205.go @@ -11,8 +11,8 @@ var s string; var m map[string]int; func main() { - println(t["hi"]); // ERROR "non-integer" - println(s["hi"]); // ERROR "non-integer" + println(t["hi"]); // ERROR "integer" + println(s["hi"]); // ERROR "integer" println(m[0]); // ERROR "map index" }