Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1374)

Unified Diff: lib/src/typed_wrappers.dart

Issue 2418763002: Update Set.difference to take a Set<Object>. (Closed)
Patch Set: Updated version number. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/wrappers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/typed_wrappers.dart
diff --git a/lib/src/typed_wrappers.dart b/lib/src/typed_wrappers.dart
index 1dcb3b79c3827db193c350aae9fc58d23a0e62df..9416d811850f0a3975d25cda32828875a1a85512 100644
--- a/lib/src/typed_wrappers.dart
+++ b/lib/src/typed_wrappers.dart
@@ -226,7 +226,7 @@ class TypeSafeSet<E> extends TypeSafeIterable<E> implements DelegatingSet<E> {
bool containsAll(Iterable<Object> other) => _setBase.containsAll(other);
- Set<E> difference(Set<E> other) =>
+ Set<E> difference(Set<Object> other) =>
new TypeSafeSet<E>(_setBase.difference(other));
Set<E> intersection(Set<Object> other) =>
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/wrappers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698