fix interface not satisifed message:

x.go:13: T is not I - missing M()

NOT
x.go:13: T is not I - missing Mfunc()

R=ken
OCL=24316
CL=24316
This commit is contained in:
Russ Cox 2009-02-04 10:37:11 -08:00
parent c048ee21ad
commit 360f0aacee

View File

@ -2790,7 +2790,7 @@ runifacechecks(void)
r = p->src;
}
if(!hasiface(l, r, &m))
yyerror("%T is not %T - missing %S%hT",
yyerror("%T is not %T - missing %S%hhT",
l, r, m->sym, m->type);
}
lineno = lno;