Commit 04f94f4f authored by Ian Rogers's avatar Ian Rogers
Browse files

Don't always mark array types as precise.

Array types are always final, as they cannot be sub-classed, they may be
assigned by types that aren't themselves, e.g. Object[] may be assigned a
String[]. Introduce CannotBeAssignedFromOtherTypes to capture this property
and use in the verifier instead of IsFinal to mark things as precise.

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