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

Unified Diff: sdk/lib/core/iterable.dart

Issue 14246008: Allow Object when doing lookups. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: sdk/lib/core/iterable.dart
diff --git a/sdk/lib/core/iterable.dart b/sdk/lib/core/iterable.dart
index 9a0bf6fc89a47711f2fa358b0fbea891e6c373b9..99b520034fd5a272384c338aa34d4f4b3efbe12e 100644
--- a/sdk/lib/core/iterable.dart
+++ b/sdk/lib/core/iterable.dart
@@ -76,7 +76,7 @@ abstract class Iterable<E> {
/**
* Check whether the collection contains an element equal to [element].
*/
- bool contains(E element);
+ bool contains(Object element);
/**
* Applies the function [f] to each element of this collection.

Powered by Google App Engine
This is Rietveld 408576698