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

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

Issue 14367047: Some more cleanups. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « tools/dom/scripts/htmldartgenerator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ea886ac2bbca42fa2c5434ed6336df60e55c23bc..a984eabf8383a0f3f06b309979e96268f9cfa859 100644
--- a/tools/dom/templates/immutable_list_mixin.darttemplate
+++ b/tools/dom/templates/immutable_list_mixin.darttemplate
@@ -172,11 +172,7 @@ $endif
}
void setRange(int start, int end, Iterable<$E> iterable, [int skipCount=0]) {
-$if DEFINE_IMMUTABLE
throw new UnsupportedError("Cannot setRange on immutable List.");
-$else
- IterableMixinWorkaround.setRangeList(this, start, end, iterable, skipCount);
-$endif
}
void removeRange(int start, int end) {
« no previous file with comments | « tools/dom/scripts/htmldartgenerator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698