]> Cypherpunks repositories - gostls13.git/commitdiff
Recognize gccgo error message:
authorIan Lance Taylor <iant@golang.org>
Fri, 31 Oct 2008 21:55:57 +0000 (14:55 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 31 Oct 2008 21:55:57 +0000 (14:55 -0700)
interface1.go:29:6: error: incompatible type in initialization (missing method Next)

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=18183
CL=18271

test/interface1.go

index 089a8b5c1bd6be98efbfa2dda88b2ce47fa0fc8d..c81cad54ba1b483c3d9463dbd183e1e303cdcfe0 100644 (file)
@@ -30,6 +30,6 @@ func AddInst(Inst) *Inst {
 func main() {
        re := new(Regexp);
        print("call addinst\n");
-       var x Inst = AddInst(new(Start));       // ERROR "illegal"
+       var x Inst = AddInst(new(Start));       // ERROR "illegal|incompatible"
        print("return from  addinst\n");
 }