Index: test/codegen/expect/collection/src/utils.js |
diff --git a/test/codegen/expect/collection/src/utils.js b/test/codegen/expect/collection/src/utils.js |
index ea5e5d6c2a2cb134db1561f813014cfbd3196fcc..b67bbe060660c87409c8581b3a1e08803ba56407 100644 |
--- a/test/codegen/expect/collection/src/utils.js |
+++ b/test/codegen/expect/collection/src/utils.js |
@@ -18,7 +18,12 @@ dart_library.library('collection/src/utils', null, /* Imports */[ |
return Pair; |
}); |
let Pair = Pair$(); |
+ function defaultCompare() { |
+ return dart.fn((value1, value2) => dart.as(value1, core.Comparable)[dartx.compareTo](value2), core.int, [dart.dynamic, dart.dynamic]); |
+ } |
+ dart.fn(defaultCompare, () => dart.definiteFunctionType(core.Comparator, [])); |
// Exports: |
exports.Pair$ = Pair$; |
exports.Pair = Pair; |
+ exports.defaultCompare = defaultCompare; |
}); |