| Index: test/dart_codegen/expect/collection/list.dart
|
| diff --git a/test/dart_codegen/expect/collection/list.dart b/test/dart_codegen/expect/collection/list.dart
|
| index 68afd22ce06536aa295a842d694ddfc98671eba3..0b1099904bd9aed3ba2c0a8a79715673d1d5bd7b 100644
|
| --- a/test/dart_codegen/expect/collection/list.dart
|
| +++ b/test/dart_codegen/expect/collection/list.dart
|
| @@ -219,11 +219,7 @@ if (length == 0) {
|
| return result;
|
| }
|
| void sort([int compare(E a, E b)]) {
|
| -if (compare == null) {
|
| - var defaultCompare = Comparable.compare;
|
| - compare = defaultCompare;
|
| - }
|
| - Sort.sort(this, compare);
|
| +Sort.sort(this, ((__x8) => DEVC$RT.cast(__x8, dynamic, __CastType5, "CompositeCast", """line 305, column 21 of dart:collection/list.dart: """, __x8 is __CastType5, false))(compare == null ? Comparable.compare : compare));
|
| }
|
| void shuffle([Random random]) {
|
| if (random == null) random = new Random();
|
| @@ -277,7 +273,7 @@ RangeError.checkValidRange(start, end, this.length);
|
| }
|
| ), DEVC$RT.type((List<dynamic> _) {
|
| }
|
| - ), "ImplicitCast", """line 369, column 19 of dart:collection/list.dart: """, iterable is List<dynamic>, true);
|
| + ), "ImplicitCast", """line 365, column 19 of dart:collection/list.dart: """, iterable is List<dynamic>, true);
|
| otherStart = skipCount;
|
| }
|
| else {
|
| @@ -289,12 +285,12 @@ RangeError.checkValidRange(start, end, this.length);
|
| }
|
| if (otherStart < start) {
|
| for (int i = length - 1; i >= 0; i--) {
|
| - this[start + i] = ((__x5) => DEVC$RT.cast(__x5, dynamic, E, "CompositeCast", """line 381, column 27 of dart:collection/list.dart: """, __x5 is E, false))(otherList[otherStart + i]);
|
| + this[start + i] = ((__x9) => DEVC$RT.cast(__x9, dynamic, E, "CompositeCast", """line 377, column 27 of dart:collection/list.dart: """, __x9 is E, false))(otherList[otherStart + i]);
|
| }
|
| }
|
| else {
|
| for (int i = 0; i < length; i++) {
|
| - this[start + i] = ((__x6) => DEVC$RT.cast(__x6, dynamic, E, "CompositeCast", """line 385, column 27 of dart:collection/list.dart: """, __x6 is E, false))(otherList[otherStart + i]);
|
| + this[start + i] = ((__x10) => DEVC$RT.cast(__x10, dynamic, E, "CompositeCast", """line 381, column 27 of dart:collection/list.dart: """, __x10 is E, false))(otherList[otherStart + i]);
|
| }
|
| }
|
| }
|
| @@ -396,3 +392,4 @@ if (iterable is List) {
|
| Iterable<E> get reversed => new ReversedListIterable<E>(this);
|
| String toString() => IterableBase.iterableToFullString(this, '[', ']');
|
| }
|
| + typedef int __CastType5(dynamic __u6, dynamic __u7);
|
|
|