Index: tool/input_sdk/lib/collection/linked_hash_set.dart |
diff --git a/tool/input_sdk/lib/collection/linked_hash_set.dart b/tool/input_sdk/lib/collection/linked_hash_set.dart |
index 8826710ce745ccd9372c1131128f632280c61cd6..3bc170ffa52c4111ac80165b2d1364c4a4582561 100644 |
--- a/tool/input_sdk/lib/collection/linked_hash_set.dart |
+++ b/tool/input_sdk/lib/collection/linked_hash_set.dart |
@@ -105,7 +105,8 @@ abstract class LinkedHashSet<E> implements HashSet<E> { |
factory LinkedHashSet.from(Iterable elements) { |
LinkedHashSet<E> result = new LinkedHashSet<E>(); |
for (final element in elements) { |
- result.add(element as E); |
+ E e = element as Object/*=E*/; |
+ result.add(e); |
} |
return result; |
} |