Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Unified Diff: pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.direct.expect

Issue 2965123002: Fix greatest/least closure computation when there are multiple `?`s. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {}

Powered by Google App Engine
This is Rietveld 408576698