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 1f2fc1e9312a5020e5847f9c2ee847cc10273ddb..f0aefac4800a366168de129dc7ca773e66c162a2 100644 |
--- a/test/codegen/expect/collection/priority_queue.js |
+++ b/test/codegen/expect/collection/priority_queue.js |
@@ -97,7 +97,7 @@ dart_library.library('collection/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, __CastType0$(E))); |
return list; |
} |
toSet() { |