Index: lib/runtime/dart/collection.js |
diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js |
index 7c9b9d9b06d0c0be1c9666b471201b94ce9967cb..209233c939d4186e49028d79b293a7b147855fb3 100644 |
--- a/lib/runtime/dart/collection.js |
+++ b/lib/runtime/dart/collection.js |
@@ -2828,7 +2828,7 @@ var collection; |
compare = null; |
if (isValidKey === void 0) |
isValidKey = null; |
- this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator); |
+ this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator$(K)); |
this[_validKey] = dart.as(isValidKey != null ? isValidKey : v => dart.is(v, K), _Predicate); |
super._SplayTree(); |
} |