]> Cypherpunks repositories - gostls13.git/commitdiff
fix interface not satisifed message:
authorRuss Cox <rsc@golang.org>
Wed, 4 Feb 2009 18:37:11 +0000 (10:37 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 4 Feb 2009 18:37:11 +0000 (10:37 -0800)
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

index 4fdfb78baebda3fb299d155ac3ed9515a233aedc..e37dce60aef09d1707fa1202284835e1df33bbc7 100644 (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;