From d7ad3c4e868f992cc64c2201d631a5bdd0f1b731 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 21 Oct 2009 11:42:09 -0700 Subject: [PATCH] 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 --- test/fixedbugs/bug205.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" } -- 2.50.0