1
0
mirror of https://github.com/golang/go synced 2024-11-25 03:57:56 -07:00

gc: delete debug print

R=ken2
CC=golang-dev
https://golang.org/cl/1732043
This commit is contained in:
Russ Cox 2010-06-20 12:15:10 -07:00
parent 37c531f51f
commit 9f002f6892

View File

@ -3143,7 +3143,6 @@ implements(Type *t, Type *iface, Type **m, Type **samename, int *ptr)
imtype = methodfunc(im->type, 0); imtype = methodfunc(im->type, 0);
tm = ifacelookdot(im->sym, t, &followptr, 0); tm = ifacelookdot(im->sym, t, &followptr, 0);
if(tm == T || !eqtype(methodfunc(tm->type, 0), imtype)) { if(tm == T || !eqtype(methodfunc(tm->type, 0), imtype)) {
print("try case\n");
if(tm == T) if(tm == T)
tm = ifacelookdot(im->sym, t, &followptr, 1); tm = ifacelookdot(im->sym, t, &followptr, 1);
*m = im; *m = im;