Chromium Code Reviews| Index: corelib/src/implementation/hash_map_set.dart |
| =================================================================== |
| --- corelib/src/implementation/hash_map_set.dart (revision 2391) |
| +++ corelib/src/implementation/hash_map_set.dart (working copy) |
| @@ -51,7 +51,7 @@ |
| } |
| // See issue 417. Works in the vm, fails in dartc and frog. |
|
srdjan
2011/12/13 19:27:05
This is not 417 anymore, isn't it?
regis
2011/12/13 19:34:57
Well, it is still the same ongoing issue (factory
|
| - factory HashMapImplementation/*<K, V>*/.from(Map/*<K, V>*/ other) { |
| + factory HashMapImplementation.from(Map/*<K, V>*/ other) { |
| Map/*<K, V>*/ result = new HashMapImplementation/*<K, V>*/(); |
| other.forEach((/*K*/ key, /*V*/ value) { result[key] = value; }); |
| return result; |
| @@ -276,7 +276,7 @@ |
| } |
| // See issue 417. Works in the vm, fails in dartc and frog. |
|
srdjan
2011/12/13 19:27:05
ditto
regis
2011/12/13 19:34:57
ditto
|
| - factory HashSetImplementation/*<E>*/.from(Iterable/*<E>*/ other) { |
| + factory HashSetImplementation.from(Iterable/*<E>*/ other) { |
| Set/*<E>*/ set = new HashSetImplementation/*<E>*/(); |
| for (final e in other) { |
| set.add(e); |