commit | 16ab9b001c214cf831bc52a7bca5a2d18e9e4f3c | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Thu Nov 26 16:11:28 2020 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Sat Nov 28 15:00:12 2020 +0000 |
tree | bcf20d7b093f56df43e4d65bd9298980898dc74b | |
parent | 66669bb6cae475eda6666a94f6ff4f616ffa77d7 [diff] |
compiler: avoid follow-on errors for bad types Mark bad types as erroneous, to avoid generating further errors. This required some code using array types to check for errors. For golang/go#19880 Change-Id: I04d287cd66da84c123865fa1aa153ffa47c410ca Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/273626 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>