Index: sdk/lib/core/set.dart |
diff --git a/sdk/lib/core/set.dart b/sdk/lib/core/set.dart |
index bad4c79f2c7e437d09eebfafca47b04e6d0dc7f4..8856d41e36d3c568446d22d6021b3d423aea7060 100644 |
--- a/sdk/lib/core/set.dart |
+++ b/sdk/lib/core/set.dart |
@@ -36,13 +36,17 @@ abstract class Set<E> extends Collection<E> { |
/** |
* Returns true if [other] contains all the elements of this Set. |
+ * |
+ * *Deprecated*. Use `other.containsAll(thisSet)` instead if [other] |
+ * is a Set, and convert `other` to a Set if it isn't. |
*/ |
- bool isSubsetOf(Set<E> other); |
+ @deprecated |
+ bool isSubsetOf(Iterable<E> other); |
/** |
* Returns true if this Set contains all the elements of [other]. |
*/ |
- bool containsAll(Set<E> other); |
+ bool containsAll(Iterable<E> other); |
/** |
* Returns a new set which is the intersection between this set and [other]. |