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

Unified Diff: runtime/lib/typeddata.dart

Issue 13872007: Refactor removeRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild dom. 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: runtime/lib/typeddata.dart
diff --git a/runtime/lib/typeddata.dart b/runtime/lib/typeddata.dart
index ebe0798ccc560b802b2f4ebb2e8b1734012c2e60..15ee7615ce9d01e20abcedb7da1d10f18e881bdd 100644
--- a/runtime/lib/typeddata.dart
+++ b/runtime/lib/typeddata.dart
@@ -456,7 +456,7 @@ abstract class _TypedListBase {
int max([int compare(int a, int b)]) =>
IterableMixinWorkaround.max(this, compare);
- void removeRange(int start, int length) {
+ void removeRange(int start, int end) {
throw new UnsupportedError(
"Cannot remove from a non-extendable array");
}

Powered by Google App Engine
This is Rietveld 408576698