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

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

Issue 1840713003: fix to run against latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 9 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 | lib/runtime/dart/_js_helper.js » ('j') | lib/src/codegen/js_codegen.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_isolate_helper.js
diff --git a/lib/runtime/dart/_isolate_helper.js b/lib/runtime/dart/_isolate_helper.js
index a482f2149f739ed67fa0f17cc4c76abd52823677..abeb5e62f0fd254e65a9adc3fc59d5d95f4f7ffb 100644
--- a/lib/runtime/dart/_isolate_helper.js
+++ b/lib/runtime/dart/_isolate_helper.js
@@ -756,7 +756,8 @@ dart_library.library('dart/_isolate_helper', null, /* Imports */[
exports._globalState.isolates[dartx.remove](this.id);
this.errorPorts.clear();
if (this.doneHandlers != null) {
- for (let port of dart.as(this.doneHandlers, core.Iterable$(isolate.SendPort))) {
+ for (let port of dart.as(this.doneHandlers, core.Iterable)) {
+ dart.as(port, isolate.SendPort);
port.send(null);
}
this.doneHandlers = null;
« no previous file with comments | « no previous file | lib/runtime/dart/_js_helper.js » ('j') | lib/src/codegen/js_codegen.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698