mirror of https://github.com/golang/go.git
clean up a few error messages;
disable func redeclaration mismatch test; fix golden.out R=ken OCL=32883 CL=32883
This commit is contained in:
parent
76a763e0be
commit
99eca57d43
|
|
@ -837,7 +837,7 @@ typedcl2(Type *pt, Type *t)
|
|||
if(pt->etype == TINTER && t->etype == TFORWINTER)
|
||||
return;
|
||||
if(!cvttype(pt, t)) {
|
||||
yyerror("redeclaration of %T during imports\n\t%lT [%p]\n\t%lT [%p]", pt, pt, pt, t, t);
|
||||
yyerror("redeclaration of %T during imports", pt);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@ reswitch:
|
|||
checkwidth(t);
|
||||
}
|
||||
if(!lookdot(n, t)) {
|
||||
yyerror("%#N undefined (type %p %T has no field %S)", n, t, t, n->right->sym);
|
||||
yyerror("%#N undefined (type %T has no field %S)", n, t, n->right->sym);
|
||||
goto error;
|
||||
}
|
||||
switch(n->op) {
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ do break
|
|||
broke
|
||||
|
||||
=========== fixedbugs/bug081.go
|
||||
fixedbugs/bug081.go:5: fatal error: loop
|
||||
fixedbugs/bug081.go:5: fatal error: typecheck loop
|
||||
|
||||
=========== fixedbugs/bug093.go
|
||||
M
|
||||
|
|
|
|||
Loading…
Reference in New Issue