Index: sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
index 7a57e31d26ac0e8857c97f20964969f0ab8b4787..22f50182b060b21e4d162ad47d3f818b340c3dd4 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
@@ -229,9 +229,9 @@ class JSArray<E> extends Interceptor implements List<E>, JSIndexable { |
this.length = receiverLength - length; |
} |
- void setRange(int start, int length, List<E> from, [int startFrom = 0]) { |
+ void setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) { |
checkMutable(this, 'set range'); |
- IterableMixinWorkaround.setRangeList(this, start, length, from, startFrom); |
+ IterableMixinWorkaround.setRangeList(this, start, end, iterable, skipCount); |
} |
bool any(bool f(E element)) => IterableMixinWorkaround.any(this, f); |