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

Unified Diff: tools/dom/templates/immutable_list_mixin.darttemplate

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Replace type with var.wq 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
Index: tools/dom/templates/immutable_list_mixin.darttemplate
diff --git a/tools/dom/templates/immutable_list_mixin.darttemplate b/tools/dom/templates/immutable_list_mixin.darttemplate
index 950c780ba597a9882b10db29f6a9f85639afd756..ae81f68e0bcbc2cc04ac867b80635bf268596584 100644
--- a/tools/dom/templates/immutable_list_mixin.darttemplate
+++ b/tools/dom/templates/immutable_list_mixin.darttemplate
@@ -171,10 +171,6 @@ $endif
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [$E initialValue]) {
- throw new UnsupportedError("Cannot insertRange on immutable List.");
- }
-
Iterable<$E> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);

Powered by Google App Engine
This is Rietveld 408576698