badtype 1335 src/cmd/gc/go.h void badtype(int o, Type *tl, Type *tr); badtype 836 src/cmd/gc/swt.c Type *t, *badtype, *missing, *have; badtype 868 src/cmd/gc/swt.c else if(t->etype == TSTRUCT && algtype1(t, &badtype) == ANOEQ) badtype 869 src/cmd/gc/swt.c yyerror("cannot switch on %lN (struct containing %T cannot be compared)", n->ntest, badtype); badtype 311 src/cmd/gc/typecheck.c Type *t, *tp, *missing, *have, *badtype; badtype 648 src/cmd/gc/typecheck.c if(l->type->etype == TSTRUCT && algtype1(l->type, &badtype) == ANOEQ) { badtype 649 src/cmd/gc/typecheck.c yyerror("invalid operation: %N (struct containing %T cannot be compared)", n, badtype); badtype 1858 src/cmd/gc/walk.c badtype(OPRINT, n->type, T);