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

Unified Diff: test/codegen/expect/collection/priority_queue.js

Issue 1554683002: Update to latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 months 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 | « test/codegen/expect/collection/iterable_zip.txt ('k') | test/codegen/expect/collection/priority_queue.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « test/codegen/expect/collection/iterable_zip.txt ('k') | test/codegen/expect/collection/priority_queue.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698