Chromium Code Reviews| 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 905e53297fbebb9d768859651365933447e3b6de..a62c0a06ffe6b0f1e524e23b604b99f5a6496431 100644 |
| --- a/test/codegen/expect/collection/src/priority_queue.js |
| +++ b/test/codegen/expect/collection/src/priority_queue.js |
| @@ -100,7 +100,7 @@ dart_library.library('collection/src/priority_queue', null, /* Imports */[ |
| let list = core.List$(E).new(); |
| list[dartx.length] = this[_length]; |
| list[dartx.setRange](0, this[_length], this[_queue]); |
| - list[dartx.sort](dart.as(this.comparison, __CastType0)); |
| + list[dartx.sort](dart.as(this.comparison, dart.functionType(core.int, [E, E]))); |
|
Jennifer Messerly
2016/03/12 00:36:56
looks like a bug fix. We weren't instantiating the
|
| return list; |
| } |
| toSet() { |
| @@ -235,11 +235,6 @@ dart_library.library('collection/src/priority_queue', null, /* Imports */[ |
| return HeapPriorityQueue; |
| }); |
| let HeapPriorityQueue = HeapPriorityQueue$(); |
| - const __CastType0$ = dart.generic(function(E) { |
| - const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.int, [E, E])); |
| - return __CastType0; |
| - }); |
| - let __CastType0 = __CastType0$(); |
| // Exports: |
| exports.PriorityQueue$ = PriorityQueue$; |
| exports.PriorityQueue = PriorityQueue; |