Index: test/codegen/expect/collection/priority_queue.js |
diff --git a/test/codegen/expect/collection/priority_queue.js b/test/codegen/expect/collection/priority_queue.js |
index 8bbeb1908b1bed1bd12d9a40dbb1313fd9bf813f..3b3d55b955b021e9b3e3b61ff9dffe6ab427071c 100644 |
--- a/test/codegen/expect/collection/priority_queue.js |
+++ b/test/codegen/expect/collection/priority_queue.js |
@@ -24,7 +24,7 @@ dart_library.library('collection/priority_queue', null, /* Imports */[ |
HeapPriorityQueue(comparison) { |
if (comparison === void 0) comparison = null; |
this[_queue] = core.List$(E).new(HeapPriorityQueue$()._INITIAL_CAPACITY); |
- this.comparison = comparison != null ? comparison : core.Comparable.compare; |
+ this.comparison = dart.as(comparison != null ? comparison : core.Comparable.compare, core.Comparator); |
this[_length] = 0; |
} |
add(element) { |