| Index: sdk/lib/collection/list.dart
|
| diff --git a/sdk/lib/collection/list.dart b/sdk/lib/collection/list.dart
|
| index e7d902ece79cc6220c7f998359313b214eed8b1b..0d02f854dacd142b3f07b92916c78a3afb88ded5 100644
|
| --- a/sdk/lib/collection/list.dart
|
| +++ b/sdk/lib/collection/list.dart
|
| @@ -389,7 +389,7 @@ abstract class ListMixin<E> implements List<E> {
|
|
|
| void replaceRange(int start, int end, Iterable<E> newContents) {
|
| RangeError.checkValidRange(start, end, this.length);
|
| - if (newContents is! EfficientLength) {
|
| + if (newContents is! EfficientLengthIterable) {
|
| newContents = newContents.toList();
|
| }
|
| int removeLength = end - start;
|
| @@ -476,7 +476,7 @@ abstract class ListMixin<E> implements List<E> {
|
|
|
| void insertAll(int index, Iterable<E> iterable) {
|
| RangeError.checkValueInInterval(index, 0, length, "index");
|
| - if (iterable is EfficientLength) {
|
| + if (iterable is EfficientLengthIterable) {
|
| iterable = iterable.toList();
|
| }
|
| int insertionLength = iterable.length;
|
|
|