commit | d1d7c40c8004303d1131ebb1956fd0ade54f8404 | [log] [tgz] |
---|---|---|
author | Aart Bik <ajcbik@google.com> | Mon Apr 25 12:51:37 2016 -0700 |
committer | Aart Bik <ajcbik@google.com> | Tue Apr 26 10:06:43 2016 -0700 |
tree | 5de3e2a19312fa7af654e48c1e7c782630ebe4fd | |
parent | ff2d53a16d844054874e41a98e2984e2818ee210 [diff] |
Test component type for errors too. With regression test. Rationale: Moved erroneous check in convenience method, so we put all the same logic in one place. When testing for erroneous T[], check both the array type as well at the component type T for errors (it is possible T[] is not marked erroneous even though T is eventually). BUG=28358598 (cherry picked from commit f417ff44d1eb111854d7a213f106912b3dd9e3d4) Change-Id: Ieba66aa4b55d8e7ebddf200239c7e4095dfd4678