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

Unified Diff: pkg/dev_compiler/lib/js/legacy/dart_sdk.js

Side-by-side diff isn't available for this file because of its large size.
Issue 2358323002: Regenerate DDC SDK (Closed)
Patch Set: Created 4 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:
Download patch
« no previous file with comments | « pkg/dev_compiler/lib/js/es6/dart_sdk.js ('k') | pkg/dev_compiler/tool/sdk_expected_errors.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/js/legacy/dart_sdk.js
diff --git a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
index b80e4ccf2e3b8c0a9d8df3f697d9f5fa4f27a731..800cc205a4d45c979a0141caf8affdd9a08f2cb8 100644
--- a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
+++ b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
@@ -19110,7 +19110,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
}
timeout(timeLimit, opts) {
let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null;
- if (dart.test(this[_isComplete])) return new async._Future.immediate(this);
+ if (dart.test(this[_isComplete])) return new (_FutureOfT()).immediate(this);
let result = new (_FutureOfT())();
let timer = null;
if (onTimeout == null) {
@@ -27037,7 +27037,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
static from(elements) {
if (core.List.is(elements)) {
let length = elements[dartx.length];
- let queue = new collection.ListQueue(dart.notNull(length) + 1);
+ let queue = new (ListQueueOfE())(dart.notNull(length) + 1);
dart.assert(dart.notNull(queue[_table][dartx.length]) > dart.notNull(length));
for (let i = 0; i < dart.notNull(length); i++) {
queue[_table][dartx.set](i, E.as(elements[dartx.get](i)));
« no previous file with comments | « pkg/dev_compiler/lib/js/es6/dart_sdk.js ('k') | pkg/dev_compiler/tool/sdk_expected_errors.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698