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