Index: pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.direct.expect b/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..30820c9153c90408138f138e6755835c0377fc28 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.direct.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 { |
+ default 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::•<dynamic, dynamic>(this.u, this.t); |
+} |
+static method main() → dynamic { |
+ final dynamic x = new self::Pair::_<dynamic, dynamic>(); |
+} |