Index: pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.direct.expect b/pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c2716da71c51a928b275fd9b62a3f94f84b1f90a |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.direct.expect |
@@ -0,0 +1,19 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+abstract class C<E extends core::Object> extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method sort([(self::C::E, self::C::E) → core::int compare = null]) → void { |
+ self::C::sort2<dynamic>(this, let final dynamic #t1 = compare in #t1.==(null) ? self::C::_compareAny : #t1); |
+ } |
+ static method _compareAny(dynamic a, dynamic b) → core::int { |
+ throw "unimplemented"; |
+ } |
+ static method sort2<E extends core::Object>(self::C<self::C::sort2::E> a, (self::C::sort2::E, self::C::sort2::E) → core::int compare) → void { |
+ throw "unimplemented"; |
+ } |
+} |
+static method main() → dynamic {} |