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

Unified Diff: sdk/lib/_collection_dev/list.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: sdk/lib/_collection_dev/list.dart
diff --git a/sdk/lib/_collection_dev/list.dart b/sdk/lib/_collection_dev/list.dart
index 11811dfaa186c3fef9f34af214b9b0585f50b7cf..3deb4050772b2968608f25dcb7fff25032c93a0b 100644
--- a/sdk/lib/_collection_dev/list.dart
+++ b/sdk/lib/_collection_dev/list.dart
@@ -74,11 +74,6 @@ abstract class FixedLengthListMixin<E> {
throw new UnsupportedError(
"Cannot remove from a fixed-length list");
}
-
- void insertRange(int start, int length, [E initialValue]) {
- throw new UnsupportedError(
- "Cannot insert range in a fixed-length list");
- }
}
/**
@@ -169,11 +164,6 @@ abstract class UnmodifiableListMixin<E> {
throw new UnsupportedError(
"Cannot remove from an unmodifiable list");
}
-
- void insertRange(int start, int length, [E initialValue]) {
- throw new UnsupportedError(
- "Cannot insert range in an unmodifiable list");
- }
}
/**

Powered by Google App Engine
This is Rietveld 408576698