| Index: corelib/src/implementation/linked_hash_map.dart
|
| diff --git a/corelib/src/implementation/linked_hash_map.dart b/corelib/src/implementation/linked_hash_map.dart
|
| index be5e4d8db24c4a7b7ccb2e67e4f2fbebf5cc0b37..8c1ebf54b0c377e22683fba6cb9626aa5302f9e7 100644
|
| --- a/corelib/src/implementation/linked_hash_map.dart
|
| +++ b/corelib/src/implementation/linked_hash_map.dart
|
| @@ -28,10 +28,9 @@ class LinkedHashMapImplementation<K extends Hashable, V>
|
| _list = new DoubleLinkedQueue<KeyValuePair<K, V>>();
|
| }
|
|
|
| - // See issue 417. Works in the vm, fails in dartc and frog.
|
| - factory LinkedHashMapImplementation.from(Map/*<K, V>*/ other) {
|
| - Map/*<K, V>*/ result = new LinkedHashMapImplementation/*<K, V>*/();
|
| - other.forEach((/*K*/ key, /*V*/ value) { result[key] = value; });
|
| + factory LinkedHashMapImplementation.from(Map<K, V> other) {
|
| + Map<K, V> result = new LinkedHashMapImplementation<K, V>();
|
| + other.forEach((K key, V value) { result[key] = value; });
|
| return result;
|
| }
|
|
|
|
|