Index: pkg/compiler/lib/src/helpers/track_map.dart |
diff --git a/pkg/compiler/lib/src/helpers/track_map.dart b/pkg/compiler/lib/src/helpers/track_map.dart |
index 8445efe76d7fca825d0c42c28367f5e0d44c6681..8a5eb6d7bc087aa0ae1104c58e794fdc55b725cf 100644 |
--- a/pkg/compiler/lib/src/helpers/track_map.dart |
+++ b/pkg/compiler/lib/src/helpers/track_map.dart |
@@ -57,10 +57,10 @@ class TrackMap<K, V> implements Map<K, V> { |
Iterable<K> get keys => _map.keys; |
Iterable<V> get values => _map.values; |
- bool containsKey(K key) => _map.containsKey(key); |
- bool containsValue(V value) => _map.containsValue(value); |
+ bool containsKey(Object key) => _map.containsKey(key); |
+ bool containsValue(Object value) => _map.containsValue(value); |
- V operator [](K key) => _map[key]; |
+ V operator [](Object key) => _map[key]; |
String toString() => _map.toString(); |
void forEach(void action(K key, V value)) { |