Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: sdk/lib/collection/splay_tree.dart

Issue 716513002: Fix type in generic type of parameters to SplayTreeMap.fromIterable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/corelib/splay_tree_from_iterable_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/splay_tree.dart
diff --git a/sdk/lib/collection/splay_tree.dart b/sdk/lib/collection/splay_tree.dart
index 96c3cd73895d5e543589ba16d404636544c4afbb..0edd58deaac79d7094125e24d501aa8475bdc97c 100644
--- a/sdk/lib/collection/splay_tree.dart
+++ b/sdk/lib/collection/splay_tree.dart
@@ -289,7 +289,7 @@ class SplayTreeMap<K, V> extends _SplayTree<K> implements Map<K, V> {
* If no values are specified for [key] and [value] the default is the
* identity function.
*/
- factory SplayTreeMap.fromIterable(Iterable<K> iterable,
+ factory SplayTreeMap.fromIterable(Iterable iterable,
{K key(element), V value(element), int compare(K key1, K key2),
bool isValidKey(potentialKey) }) {
SplayTreeMap<K, V> map = new SplayTreeMap<K, V>(compare, isValidKey);
« no previous file with comments | « no previous file | tests/corelib/splay_tree_from_iterable_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698