From 360f0aacee0a519ca0e04592c94f463fdda7800a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 4 Feb 2009 10:37:11 -0800 Subject: [PATCH] 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 --- src/cmd/gc/subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index 4fdfb78bae..e37dce60ae 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -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;