summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2009-01-15 10:15:23 -0800
committerIan Lance Taylor <iant@golang.org>2009-01-15 10:15:23 -0800
commita775355fc6b3b2ddeb4296171f2f6fb0dbc19e48 (patch)
tree525020b32aaea703c9a9af304b9caa19a242baac
parent50c0662801b3240e83b4bdee4bd400128b519ac6 (diff)
downloadgolang-a775355fc6b3b2ddeb4296171f2f6fb0dbc19e48.tar.gz
Recognize gccgo error messages:
interface5.go:15:5: error: incompatible types in assignment interface5.go:16:5: error: incompatible types in assignment (Yes, these could be better). R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22821 CL=22826
-rw-r--r--test/interface5.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/interface5.go b/test/interface5.go
index a7d79a17b..2e273dddd 100644
--- a/test/interface5.go
+++ b/test/interface5.go
@@ -16,6 +16,6 @@ func main() {
// neither of these can work,
// because i has an extra method
// that t does not, so i cannot contain a t.
- i = t; // ERROR "missing"
- t = i; // ERROR "missing"
+ i = t; // ERROR "missing|incompatible"
+ t = i; // ERROR "missing|incompatible"
}