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

Unified Diff: dart/pkg/compiler/lib/src/util/setlet.dart

Issue 730023002: Don't restrict type on Setlet.remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/util/setlet.dart
diff --git a/dart/pkg/compiler/lib/src/util/setlet.dart b/dart/pkg/compiler/lib/src/util/setlet.dart
index 10c0224487c73b80b0b6ca0b14cccf7e18323bec..f497561ecf43c4e6c48300b6a4a4eab52ee78d53 100644
--- a/dart/pkg/compiler/lib/src/util/setlet.dart
+++ b/dart/pkg/compiler/lib/src/util/setlet.dart
@@ -157,7 +157,7 @@ class Setlet<E> extends IterableBase<E> implements Set<E> {
}
}
- bool remove(E element) {
+ bool remove(Object element) {
if (_extra == null) {
if (_contents == element) {
_contents = _MARKER;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698