Index: sdk/lib/collection/linked_hash_map.dart |
diff --git a/sdk/lib/collection/linked_hash_map.dart b/sdk/lib/collection/linked_hash_map.dart |
index 0f766522668c798ad6f56e8877f7e2f124d09657..91814edf735e78d4d0f23cc6fdf4497addf35653 100644 |
--- a/sdk/lib/collection/linked_hash_map.dart |
+++ b/sdk/lib/collection/linked_hash_map.dart |
@@ -89,7 +89,7 @@ abstract class LinkedHashMap<K, V> implements HashMap<K, V> { |
*/ |
factory LinkedHashMap.from(Map other) { |
LinkedHashMap<K, V> result = new LinkedHashMap<K, V>(); |
- other.forEach((k, v) { result[k] = v; }); |
+ other.forEach((k, v) { result[k as Object/*=K*/] = v as Object/*=V*/; }); |
return result; |
} |