Chromium Code Reviews| Index: sdk/lib/collection/splay_tree.dart |
| =================================================================== |
| --- sdk/lib/collection/splay_tree.dart (revision 19209) |
| +++ sdk/lib/collection/splay_tree.dart (working copy) |
| @@ -227,7 +227,7 @@ |
| * method. |
| */ |
| class SplayTreeMap<K, V> extends _SplayTree<K> implements Map<K, V> { |
| - Comparator<K> _comparator; |
| + Function /* TODO(dart2js-team): re-enable Comparator<K> */_comparator; |
|
Lasse Reichstein Nielsen
2013/02/28 12:34:19
Is this the same problem as http://dartbug.com/773
ngeoffray
2013/02/28 12:37:09
Yes, same bug. Done.
|
| SplayTreeMap([int compare(K key1, K key2)]) |
| : _comparator = (compare == null) ? Comparable.compare : compare; |