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

Unified Diff: pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.strong.expect

Issue 2909503004: Update strong mode expectations to reflect kernel type parameter conventions. (Closed)
Patch Set: Created 3 years, 7 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/constructors_inference_f_bounded.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.strong.expect b/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..99a8c06758e6e7b7ff84be68f485bc449ccf22d6
--- /dev/null
+++ b/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.strong.expect
@@ -0,0 +1,24 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class Clonable<T extends core::Object> extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class Pair<T extends self::Clonable<self::Pair::T>, U extends self::Clonable<self::Pair::U>> extends core::Object {
+ field self::Pair::T t;
+ field self::Pair::U u;
+ constructor •(self::Pair::T t, self::Pair::U u) → void
+ : self::Pair::t = t, self::Pair::u = u, super core::Object::•()
+ ;
+ constructor _() → void
+ : self::Pair::u = null, self::Pair::t = null, super core::Object::•()
+ ;
+ get reversed() → self::Pair<self::Pair::U, self::Pair::T>
+ return new self::Pair::•<self::Pair::U, self::Pair::T>(this.u, this.t);
+}
+static method main() → dynamic {
+ final self::Pair<self::Clonable<dynamic>, self::Clonable<dynamic>> x = new self::Pair::_<self::Clonable<dynamic>, self::Clonable<dynamic>>();
+}

Powered by Google App Engine
This is Rietveld 408576698