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

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

Issue 13863012: Refactor List.setRange function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase 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 0af41e945c2cb7d6ef265540e63c73bbae6c2e3c..f26f8d0f98e7a6c8c9f8127a73bc0a6ebeedd833 100644
--- a/tools/dom/templates/immutable_list_mixin.darttemplate
+++ b/tools/dom/templates/immutable_list_mixin.darttemplate
@@ -176,7 +176,7 @@ $endif
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void setRange(int start, int rangeLength, List<$E> from, [int startFrom]) {
+ void setRange(int start, int end, List<$E> from, [int startFrom]) {
throw new UnsupportedError("Cannot setRange on immutable List.");
}

Powered by Google App Engine
This is Rietveld 408576698