| Index: test/generated_sdk/lib/collection/list.dart
|
| diff --git a/test/generated_sdk/lib/collection/list.dart b/test/generated_sdk/lib/collection/list.dart
|
| index e7d902ece79cc6220c7f998359313b214eed8b1b..dd0c14a43042454de50a9a033f0d11c30c5d2f69 100644
|
| --- a/test/generated_sdk/lib/collection/list.dart
|
| +++ b/test/generated_sdk/lib/collection/list.dart
|
| @@ -302,11 +302,7 @@ abstract class ListMixin<E> implements List<E> {
|
| }
|
|
|
| void sort([int compare(E a, E b)]) {
|
| - if (compare == null) {
|
| - var defaultCompare = Comparable.compare;
|
| - compare = defaultCompare;
|
| - }
|
| - Sort.sort(this, compare);
|
| + Sort.sort(this, compare == null ? Comparable.compare : compare);
|
| }
|
|
|
| void shuffle([Random random]) {
|
|
|