Index: sdk/lib/collection/splay_tree.dart |
diff --git a/sdk/lib/collection/splay_tree.dart b/sdk/lib/collection/splay_tree.dart |
index 31be01135c4d82fa242369643b0a8314b51ee228..0345f8a924f73620ed7b7fa1ea3754c991bf184d 100644 |
--- a/sdk/lib/collection/splay_tree.dart |
+++ b/sdk/lib/collection/splay_tree.dart |
@@ -26,7 +26,7 @@ class SplayTreeNode<K, V> { |
* This implementation is a Dart version of the JavaScript |
* implementation in the V8 project. |
*/ |
-class SplayTreeMap<K extends Comparable, V> implements Map<K, V> { |
+class SplayTreeMap<K extends Comparable<K>, V> implements Map<K, V> { |
// The root node of the splay tree. It will contain either the last |
// element inserted, or the last element looked up. |