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

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

Issue 1054343004: Update to use the latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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
Index: lib/runtime/dart/async.js
diff --git a/lib/runtime/dart/async.js b/lib/runtime/dart/async.js
index 45974063fdb3476eddafb39bd4cd4ce9a132fdbd..1782a16627ece7bd866970d11854e4da3f9c9463 100644
--- a/lib/runtime/dart/async.js
+++ b/lib/runtime/dart/async.js
@@ -2926,10 +2926,8 @@ var async;
result = dart.as(this[_onCancel](), Future);
} catch (e) {
let s = dart.stackTrace(e);
- result = ((_$) => {
- _$[_asyncCompleteError](e, s);
- return _$;
- })(new _Future());
+ result = new _Future();
+ result[_asyncCompleteError](e, s);
}
} else {

Powered by Google App Engine
This is Rietveld 408576698