| 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 3be692d142b4f65e84952e647e538eef88f36edd..13c72b7b3d31a0a7badd1c7f3308f832032edaa4 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
|
| @@ -44,20 +44,21 @@ class JSArray<E> implements List<E> {
|
| }
|
|
|
| void removeAll(Iterable elements) {
|
| - Collections.removeAll(this, elements);
|
| + IterableMixinWorkaround.removeAllList(this, elements);
|
| }
|
|
|
| void retainAll(Iterable elements) {
|
| - Collections.retainAll(this, elements);
|
| + IterableMixinWorkaround.retainAll(this, elements);
|
| }
|
|
|
| void removeMatching(bool test(E element)) {
|
| // This could, and should, be optimized.
|
| - Collections.removeMatching(this, test);
|
| + IterableMixinWorkaround.removeMatchingList(this, test);
|
| }
|
|
|
| void reatainMatching(bool test(E element)) {
|
| - Collections.reatainMatching(this, test);
|
| + IterableMixinWorkaround.removeMatchingList(this,
|
| + (E element) => !test(element));
|
| }
|
|
|
| Iterable<E> where(bool f(E element)) {
|
|
|