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

Unified Diff: pkg/compiler/lib/src/helpers/debug_collection.dart

Issue 2413233002: Change Set.difference API to accept Set<Object>. (Closed)
Patch Set: Also update a few subclasses. 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') | pkg/compiler/lib/src/helpers/expensive_set.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/helpers/debug_collection.dart
diff --git a/pkg/compiler/lib/src/helpers/debug_collection.dart b/pkg/compiler/lib/src/helpers/debug_collection.dart
index 751b8c803b4d6d23aafab8807b92be5b60657716..b20bf0c649b8dce79f0ff2e7f7a2b24cac594216 100644
--- a/pkg/compiler/lib/src/helpers/debug_collection.dart
+++ b/pkg/compiler/lib/src/helpers/debug_collection.dart
@@ -261,7 +261,7 @@ class DebugSet<E> extends DebugIterable<E> implements Set<E> {
Set<E> union(Set<E> other) => set.union(other);
- Set<E> difference(Set<E> other) => set.difference(other);
+ Set<E> difference(Set<Object> other) => set.difference(other);
void clear() => set.clear();
« no previous file with comments | « CHANGELOG.md ('k') | pkg/compiler/lib/src/helpers/expensive_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698