Index: pkg/dev_compiler/tool/input_sdk/private/js_array.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/private/js_array.dart b/pkg/dev_compiler/tool/input_sdk/private/js_array.dart |
index 80a528959fb0af801460d9921d9ec9c9bc30ffa6..c33ca35c50a1a43811fcbea3ce9bdc8063a48418 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/js_array.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/js_array.dart |
@@ -93,7 +93,7 @@ class JSArray<E> implements List<E>, JSIndexable<E> { |
void insertAll(int index, Iterable<E> iterable) { |
checkGrowable('insertAll'); |
RangeError.checkValueInInterval(index, 0, this.length, "index"); |
- if (iterable is! EfficientLength) { |
+ if (iterable is! EfficientLengthIterable) { |
iterable = iterable.toList(); |
} |
int insertionLength = iterable.length; |
@@ -411,7 +411,7 @@ class JSArray<E> implements List<E>, JSIndexable<E> { |
void replaceRange(int start, int end, Iterable<E> replacement) { |
checkGrowable('replace range'); |
RangeError.checkValidRange(start, end, this.length); |
- if (replacement is! EfficientLength) { |
+ if (replacement is! EfficientLengthIterable) { |
replacement = replacement.toList(); |
} |
int removeLength = end - start; |