diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index 98127e23b8..9152bfb1ab 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -1556,13 +1556,15 @@ dclmethod(Type *t) t->methptr |= 1<etype]) switch(t->etype) { default: return T; case TSTRUCT: case TARRAY: + case TMAP: + case TCHAN: + case TSTRING: break; }