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

Unified Diff: lib/runtime/dart/collection.js

Issue 1347153005: additional SDK fixes. This gets all of them, once we upgrade to new analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 3 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 | « lib/runtime/dart/async.js ('k') | tool/input_sdk/lib/async/broadcast_stream_controller.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/collection.js
diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js
index b8549f75c8127651964e7eb8faf149f6af4ddd40..f67f3e3b0010aa4f7699834940ce29d65c98ccec 100644
--- a/lib/runtime/dart/collection.js
+++ b/lib/runtime/dart/collection.js
@@ -3839,7 +3839,7 @@ dart_library.library('dart/collection', null, /* Imports */[
}
toSet() {
let setOrMap = this[_tree];
- let set = new (SplayTreeSet$(K))(dart.as(setOrMap[_comparator], __CastType0), dart.as(setOrMap[_validKey], __CastType3));
+ let set = new (SplayTreeSet$(K))(setOrMap[_comparator], setOrMap[_validKey]);
set[_count] = this[_tree][_count];
set[_root] = set[_copyNode](this[_tree][_root]);
return set;
@@ -4126,12 +4126,6 @@ dart_library.library('dart/collection', null, /* Imports */[
return SplayTreeSet;
});
let SplayTreeSet = SplayTreeSet$();
- let __CastType0$ = dart.generic(function(K) {
- let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.int, [K, K]));
- return __CastType0;
- });
- let __CastType0 = __CastType0$();
- let __CastType3 = dart.typedef('__CastType3', () => dart.functionType(core.bool, [core.Object]));
let _strings = Symbol('_strings');
let _nums = Symbol('_nums');
let _rest = Symbol('_rest');
« no previous file with comments | « lib/runtime/dart/async.js ('k') | tool/input_sdk/lib/async/broadcast_stream_controller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698