Commit 360f0aac authored by Russ Cox's avatar Russ Cox

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
parent c048ee21
...@@ -2790,7 +2790,7 @@ runifacechecks(void) ...@@ -2790,7 +2790,7 @@ runifacechecks(void)
r = p->src; r = p->src;
} }
if(!hasiface(l, r, &m)) 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); l, r, m->sym, m->type);
} }
lineno = lno; lineno = lno;
......
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