Commit 721cb9c6 authored by Ken Thompson's avatar Ken Thompson

redeclaring methods

R=r
OCL=15375
CL=15375
parent 5d5e9f74
......@@ -313,6 +313,7 @@ addmethod(Node *n, Type *t, int local)
}
if(!eqtype(t, f->type, 0))
yyerror("method redeclared: %S of type %S", sf, st);
return;
}
if(d == T)
......
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