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

Unified Diff: sdk/lib/io/platform_impl.dart

Issue 14246008: Allow Object when doing lookups. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot to upload before committing Created 7 years, 6 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/io/platform_impl.dart
diff --git a/sdk/lib/io/platform_impl.dart b/sdk/lib/io/platform_impl.dart
index 89fc2a0eb323f00c1fca358ed9ea6a3409dbd1d3..88996a52f950bc2dfde9d9232bb4962baadf5a24 100644
--- a/sdk/lib/io/platform_impl.dart
+++ b/sdk/lib/io/platform_impl.dart
@@ -72,7 +72,7 @@ class _CaseInsensitiveStringMap<V> implements Map<String, V> {
}
bool containsKey(String key) => _map.containsKey(key.toUpperCase());
- bool containsValue(V value) => _map.containsValue(value);
+ bool containsValue(Object value) => _map.containsValue(value);
V operator [](String key) => _map[key.toUpperCase()];
void operator []=(String key, V value) {
_map[key.toUpperCase()] = value;
« no previous file with comments | « sdk/lib/html/html_common/filtered_element_list.dart ('k') | sdk/lib/typed_data/dart2js/typed_data_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698