Commit 99eca57d authored by Russ Cox's avatar Russ Cox

clean up a few error messages;

disable func redeclaration mismatch test;
fix golden.out

R=ken
OCL=32883
CL=32883
parent 76a763e0
...@@ -837,7 +837,7 @@ typedcl2(Type *pt, Type *t) ...@@ -837,7 +837,7 @@ typedcl2(Type *pt, Type *t)
if(pt->etype == TINTER && t->etype == TFORWINTER) if(pt->etype == TINTER && t->etype == TFORWINTER)
return; return;
if(!cvttype(pt, t)) { 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;
} }
return; return;
......
...@@ -400,7 +400,7 @@ reswitch: ...@@ -400,7 +400,7 @@ reswitch:
checkwidth(t); checkwidth(t);
} }
if(!lookdot(n, 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; goto error;
} }
switch(n->op) { switch(n->op) {
......
...@@ -121,7 +121,7 @@ do break ...@@ -121,7 +121,7 @@ do break
broke broke
=========== fixedbugs/bug081.go =========== fixedbugs/bug081.go
fixedbugs/bug081.go:5: fatal error: loop fixedbugs/bug081.go:5: fatal error: typecheck loop
=========== fixedbugs/bug093.go =========== fixedbugs/bug093.go
M M
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment