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

Unified Diff: runtime/lib/typeddata.dart

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: runtime/lib/typeddata.dart
diff --git a/runtime/lib/typeddata.dart b/runtime/lib/typeddata.dart
index fe429e82634b85792a29347c2836ec5c5c831eba..09f96d2c94eb6fceb72a31fa94df4f48ced4057d 100644
--- a/runtime/lib/typeddata.dart
+++ b/runtime/lib/typeddata.dart
@@ -520,11 +520,6 @@ abstract class _TypedListBase {
"Cannot remove from a non-extendable array");
}
- void insertRange(int start, int length, [initialValue]) {
- throw new UnsupportedError(
- "Cannot add to a non-extendable array");
- }
-
List toList() {
return new List.from(this);
}

Powered by Google App Engine
This is Rietveld 408576698