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

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

Side-by-side diff isn't available for this file because of its large size.
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, 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:
Download patch
Index: lib/runtime/dart/html.js
diff --git a/lib/runtime/dart/html.js b/lib/runtime/dart/html.js
index d3efb06f8f70e036edf2bcadd14943083d8b9d02..3bf6beddc4a139cd39549fac3ec104c12149359c 100644
--- a/lib/runtime/dart/html.js
+++ b/lib/runtime/dart/html.js
@@ -176,7 +176,8 @@ dart_library.library('dart/html', null, /* Imports */[
set [dartx.nodes](value) {
let copy = core.List.from(value);
this[dartx.text] = '';
- for (let node of dart.as(copy, core.Iterable$(Node))) {
+ for (let node of copy) {
+ dart.as(node, Node);
this[dartx.append](node);
}
}

Powered by Google App Engine
This is Rietveld 408576698