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

Unified Diff: lib/runtime/dart_sdk.js

Side-by-side diff isn't available for this file because of its large size.
Issue 1998843002: Flatten _Future at runtime as well (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | lib/src/compiler/code_generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart_sdk.js
diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js
index 16d1f9ff21f9ae84e99af8fc10d1ae158ac89ff3..934aca9aa5b11a4c1772babc1a2d3c7f43c340f0 100644
--- a/lib/runtime/dart_sdk.js
+++ b/lib/runtime/dart_sdk.js
@@ -15397,7 +15397,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
const _prependListeners = Symbol('_prependListeners');
const _reverseListeners = Symbol('_reverseListeners');
const _removeListeners = Symbol('_removeListeners');
- async._Future$ = dart.generic(T => {
+ async._Future$ = dart.flattenFutures(dart.generic(T => {
class _Future extends core.Object {
new() {
this[_zone] = async.Zone.current;
@@ -15886,7 +15886,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
names: ['_chainForeignFuture', '_chainCoreFuture', '_propagateToListeners']
});
return _Future;
- });
+ }));
async._Future = async._Future$();
async._Future._INCOMPLETE = 0;
async._Future._PENDING_COMPLETE = 1;
« no previous file with comments | « no previous file | lib/src/compiler/code_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698