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

Unified Diff: pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.strong.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.strong.expect
diff --git a/pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.strong.expect b/pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..58c516aea593aa3c2b1b367b70f1f78a9feddd1d
--- /dev/null
+++ b/pkg/front_end/testcases/inference/greatest_closure_multiple_params.dart.strong.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<self::C::E>(this, let final (self::C::E, self::C::E) → core::int #t1 = compare in #t1.==(null) ?{(core::Null, core::Null) → core::int} 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