OLD | NEW |
1 library test; | 1 library test; |
2 import self as self; | 2 import self as self; |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 | 4 |
5 abstract class C<E extends core::Object> extends core::Object { | 5 abstract class C<E extends core::Object> extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 method sort([(self::C::E, self::C::E) → core::int compare = null]) → void { | 9 method sort([(self::C::E, self::C::E) → core::int compare = null]) → void { |
10 self::C::sort2<dynamic>(this, let final dynamic #t1 = compare in #t1.==(null
) ? self::C::_compareAny : #t1); | 10 self::C::sort2<dynamic>(this, let final dynamic #t1 = compare in #t1.==(null
) ? self::C::_compareAny : #t1); |
11 } | 11 } |
12 static method _compareAny(dynamic a, dynamic b) → core::int { | 12 static method _compareAny(dynamic a, dynamic b) → core::int { |
13 throw "unimplemented"; | 13 throw "unimplemented"; |
14 } | 14 } |
15 static method sort2<E extends core::Object>(self::C<self::C::sort2::E> a, (sel
f::C::sort2::E, self::C::sort2::E) → core::int compare) → void { | 15 static method sort2<E extends core::Object>(self::C<self::C::sort2::E> a, (sel
f::C::sort2::E, self::C::sort2::E) → core::int compare) → void { |
16 throw "unimplemented"; | 16 throw "unimplemented"; |
17 } | 17 } |
18 } | 18 } |
19 static method main() → dynamic {} | 19 static method main() → dynamic {} |
OLD | NEW |