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

Unified Diff: sdk/lib/core/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/core/list.dart
diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart
index d0442c0b0b44b6a338f8a2ab417815a877910554..8978978e68292b55653aee64b8b60044ac92d85d 100644
--- a/sdk/lib/core/list.dart
+++ b/sdk/lib/core/list.dart
@@ -286,20 +286,6 @@ abstract class List<E> implements Iterable<E> {
void removeRange(int start, int end);
/**
- * Inserts a new range into the list, starting from [start] to
- * [:start + length - 1:]. The entries are filled with [fill].
- * Throws an [UnsupportedError] if the list is
- * not extendable.
- * If [length] is 0, this method does not do anything.
- * If [start] is the length of the list, this method inserts the
- * range at the end of the list.
- * Throws an [ArgumentError] if [length] is negative.
- * Throws an [RangeError] if [start] is negative or if
- * [start] is greater than the length of the list.
- */
- void insertRange(int start, int length, [E fill]);
-
- /**
* Returns an unmodifiable [Map] view of `this`.
*
* It has the indices of this list as keys, and the corresponding elements

Powered by Google App Engine
This is Rietveld 408576698