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

Unified Diff: pkg/compiler/lib/src/common_elements.dart

Issue 2478703003: Run async immediately in dart2js and VM. (Closed)
Patch Set: Also run sync in VM. Created 3 years, 4 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 | « no previous file | runtime/lib/async_patch.dart » ('j') | sdk/lib/_internal/js_runtime/lib/async_patch.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common_elements.dart
diff --git a/pkg/compiler/lib/src/common_elements.dart b/pkg/compiler/lib/src/common_elements.dart
index 0c7edc97a9f675256dfbbb8030bcdf82b1e22482..da0ffded027fcdfe444636d23a3f81c1a1a2a5c0 100644
--- a/pkg/compiler/lib/src/common_elements.dart
+++ b/pkg/compiler/lib/src/common_elements.dart
@@ -547,7 +547,7 @@ class CommonElements {
_env.lookupConstructor(syncStarIterable, "");
ConstructorEntity get syncCompleterConstructor =>
- _env.lookupConstructor(_findAsyncHelperClass("Completer"), "sync");
+ _env.lookupConstructor(_findAsyncHelperClass("_AsyncAwaitCompleter"), "");
sra1 2017/08/24 17:21:18 This is confusing. Why is the 'sync' getter return
ClassEntity get asyncStarController =>
_findAsyncHelperClass("_AsyncStarStreamController");
« no previous file with comments | « no previous file | runtime/lib/async_patch.dart » ('j') | sdk/lib/_internal/js_runtime/lib/async_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698