]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: mark broken type declarations as broken.
authorDaniel Morsing <daniel.morsing@gmail.com>
Fri, 31 Aug 2012 17:02:29 +0000 (13:02 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 31 Aug 2012 17:02:29 +0000 (13:02 -0400)
commit85ce3c724167f82793c0c2be0edf611c70cede49
treeb7a2a03d7643098ea8c7b9609add38083fab5e2f
parente29659b3c30a79cdbd61ac6b68d5cead57ef2de7
cmd/gc: mark broken type declarations as broken.

This fixes a spurious 'invalid recursive type' error, and stops the compiler from emitting errors on uses of the invalid type.

Fixes #3766.

R=golang-dev, dave, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/6443100
src/cmd/gc/typecheck.c
test/fixedbugs/bug451.go