mirror of
https://github.com/golang/go
synced 2024-11-22 17:24:53 -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:
parent
42ae5270d8
commit
2eb17d7894
@ -30,6 +30,6 @@ func AddInst(Inst) *Inst {
|
|||||||
func main() {
|
func main() {
|
||||||
re := new(Regexp);
|
re := new(Regexp);
|
||||||
print("call addinst\n");
|
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");
|
print("return from addinst\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user