You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They also behave differently for Strings and other arrays. In particular, a String array whose elements are annotated as SameLen of some other array is permitted to be assigned into another variable with the same annotation (test2 below), but an array annotated similarly is not (test4). test1 and test3 show expected use cases; only the version with a String array issues warnings.
They also behave differently for Strings and other arrays. In particular, a String array whose elements are annotated as
SameLen
of some other array is permitted to be assigned into another variable with the same annotation (test2
below), but an array annotated similarly is not (test4
).test1
andtest3
show expected use cases; only the version with a String array issues warnings.Consider the following code:
Output:
Expected: no output
The text was updated successfully, but these errors were encountered: