1
0
mirror of https://github.com/golang/go synced 2024-11-11 21:40:21 -07:00

Recognize gccgo error message:

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
This commit is contained in:
Ian Lance Taylor 2008-10-31 14:55:57 -07:00
parent 42ae5270d8
commit 2eb17d7894

View 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");
}