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
This code typechecks because the type of elt is @PolyDet("up"). This is unsound because the type of elt should be @NonDet as it's from iterating over a HashSet.
The text was updated successfully, but these errors were encountered:
Iterating through a HashSet should always give
@NonDet
elements. Consider the following code.This code typechecks because the type of
elt
is@PolyDet("up")
. This is unsound because the type ofelt
should be@NonDet
as it's from iterating over aHashSet
.The text was updated successfully, but these errors were encountered: