Index: sdk/lib/_collection_dev/list.dart |
diff --git a/sdk/lib/_collection_dev/list.dart b/sdk/lib/_collection_dev/list.dart |
index 6d955aef6a8d54477baac5d714820f3affbf2dbd..3deb4050772b2968608f25dcb7fff25032c93a0b 100644 |
--- a/sdk/lib/_collection_dev/list.dart |
+++ b/sdk/lib/_collection_dev/list.dart |
@@ -70,15 +70,10 @@ abstract class FixedLengthListMixin<E> { |
"Cannot remove from a fixed-length list"); |
} |
- void removeRange(int start, int length) { |
+ void removeRange(int start, int end) { |
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"); |
- } |
} |
/** |
@@ -165,15 +160,10 @@ abstract class UnmodifiableListMixin<E> { |
"Cannot modify an unmodifiable list"); |
} |
- void removeRange(int start, int length) { |
+ void removeRange(int start, int end) { |
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"); |
- } |
} |
/** |