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

Unified Diff: pkg/yaml/lib/parser.dart

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild DOM (unrelated CL) and update status files. Created 7 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
« no previous file with comments | « pkg/yaml/lib/model.dart ('k') | pkg/yaml/test/yaml_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/yaml/lib/parser.dart
diff --git a/pkg/yaml/lib/parser.dart b/pkg/yaml/lib/parser.dart
index 9621b135d044ed23a3f0832437897fade114d047..b923fe3301df40de0e4e1e6978be0d8a594bcf87 100644
--- a/pkg/yaml/lib/parser.dart
+++ b/pkg/yaml/lib/parser.dart
@@ -1637,7 +1637,7 @@ class _Parser {
if (!truth(s_indent(indent))) return null;
return c_l_blockSeqEntry(indent);
}));
- content.insertRange(0, 1, first);
+ content.insert(0, first);
return new _SequenceNode("?", content);
});
@@ -1720,7 +1720,7 @@ class _Parser {
if (!truth(s_indent(indent))) return null;
return ns_l_blockMapEntry(indent);
}));
- pairs.insertRange(0, 1, first);
+ pairs.insert(0, first);
return map(pairs);
});
« no previous file with comments | « pkg/yaml/lib/model.dart ('k') | pkg/yaml/test/yaml_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698