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

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

Issue 9963029: Fix some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (due to error messages during upload) Created 8 years, 9 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 | « lib/dom/templates/html/impl/impl_SVGElement.darttemplate ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/immutable_list_mixin.darttemplate
diff --git a/lib/dom/templates/immutable_list_mixin.darttemplate b/lib/dom/templates/immutable_list_mixin.darttemplate
index f5a22b54a9006a3d43fc656c250a59a2cf0f13ac..befa0d71b7413662508dd1f5bf4893c0e2b686c3 100644
--- a/lib/dom/templates/immutable_list_mixin.darttemplate
+++ b/lib/dom/templates/immutable_list_mixin.darttemplate
@@ -51,17 +51,17 @@
$E last() => this[length - 1];
- // FIXME: implement thesee.
- void setRange(int start, int length, List<$E> from, [int startFrom]) {
+ // FIXME: implement these.
+ void setRange(int start, int rangeLength, List<$E> from, [int startFrom]) {
throw new UnsupportedOperationException("Cannot setRange on immutable List.");
}
- void removeRange(int start, int length) {
+ void removeRange(int start, int rangeLength) {
throw new UnsupportedOperationException("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int length, [$E initialValue]) {
+ void insertRange(int start, int rangeLength, [$E initialValue]) {
throw new UnsupportedOperationException("Cannot insertRange on immutable List.");
}
- List<$E> getRange(int start, int length) =>
- _Lists.getRange(this, start, length, <$E>[]);
+ List<$E> getRange(int start, int rangeLength) =>
+ _Lists.getRange(this, start, rangeLength, <$E>[]);
// -- end List<$E> mixins.
« no previous file with comments | « lib/dom/templates/html/impl/impl_SVGElement.darttemplate ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698