Commit d1d7c40c authored by Aart Bik's avatar Aart Bik
Browse files

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 f417ff44)

Change-Id: Ieba66aa4b55d8e7ebddf200239c7e4095dfd4678
parent ff2d53a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment