cmd/gc: revert CL 60740044

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/60590047
This commit is contained in:
David du Colombier 2014-02-07 17:05:16 +01:00
parent f95a311c9b
commit d0591d5ebd
1 changed files with 1 additions and 1 deletions

View File

@ -3199,7 +3199,7 @@ typecheckdef(Node *n)
n->type->sym = n->sym;
nerrors0 = nerrors;
typecheckdeftype(n);
if(n->type != T && n->type->etype == TFORW && nerrors > nerrors0) {
if(n->type->etype == TFORW && nerrors > nerrors0) {
// Something went wrong during type-checking,
// but it was reported. Silence future errors.
n->type->broke = 1;