| Index: test/generated_sdk/lib/core/list.dart
|
| diff --git a/test/generated_sdk/lib/core/list.dart b/test/generated_sdk/lib/core/list.dart
|
| index 638cc03a2197392deebbea20e3af5ced5911fbe6..828d03f7c55ce2b1847a1389213cd5e78982a015 100644
|
| --- a/test/generated_sdk/lib/core/list.dart
|
| +++ b/test/generated_sdk/lib/core/list.dart
|
| @@ -262,11 +262,6 @@ abstract class List<E> implements Iterable<E>, EfficientLength {
|
|
|
| bool every(bool f(E element)) => IterableMixinWorkaround.every(this, f);
|
|
|
| - void sort([int compare(E a, E b)]) {
|
| - checkMutable('sort');
|
| - IterableMixinWorkaround.sortList(this, compare);
|
| - }
|
| -
|
| bool contains(Object other) {
|
| for (int i = 0; i < length; i++) {
|
| if (this[i] == other) return true;
|
| @@ -386,7 +381,7 @@ abstract class List<E> implements Iterable<E>, EfficientLength {
|
| nums.join(', '); // '-11, 2, 13'
|
| */
|
| void sort([int compare(E a, E b)]) {
|
| - // XXX checkMutable('sort');
|
| + checkMutable('sort');
|
| IterableMixinWorkaround.sortList(this, compare);
|
| }
|
|
|
|
|