summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug165.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2009-08-17 17:40:52 -0700
committerIan Lance Taylor <iant@golang.org>2009-08-17 17:40:52 -0700
commitd02759805a8b67887ba8e5fcbe152313a43bb2ec (patch)
tree708969236cfb7a58ec52966519a58d001ad2bb8d /test/fixedbugs/bug165.go
parent9bd0da4fb346f773e866fb2fc53cac07269fcde6 (diff)
downloadgolang-d02759805a8b67887ba8e5fcbe152313a43bb2ec.tar.gz
Match gccgo error messages.
bug165.go:13:6: error: invalid recursive type 'S' This is a different line from the 6g error message, which is "invalid map key type". I accomodated both compilers by merging the line. bug188.go:13:2: error: unexpected reference to package I made the error message less specific, which I think is fine here. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=33398 CL=33426
Diffstat (limited to 'test/fixedbugs/bug165.go')
-rw-r--r--test/fixedbugs/bug165.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug165.go b/test/fixedbugs/bug165.go
index a4fe715c2..8ce67a46d 100644
--- a/test/fixedbugs/bug165.go
+++ b/test/fixedbugs/bug165.go
@@ -11,5 +11,5 @@ type I interface {
}
type S struct {
- m map[S] bool; // ERROR "map key type|complete"
+ m map[S] bool; // ERROR "map key type"
}