Index: pkg/front_end/testcases/inference/instance_creation_downwards.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/instance_creation_downwards.dart.direct.expect b/pkg/front_end/testcases/inference/instance_creation_downwards.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3e4d4f726405a8722cd038ac050597c93fa344d1 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/instance_creation_downwards.dart.direct.expect |
@@ -0,0 +1,17 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class A<T extends core::Object> extends core::Object { |
+ constructor •(self::B<core::List<self::A::T>> b) → void |
+ : super core::Object::•() |
+ ; |
+} |
+class B<T extends core::Object> extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+static method main() → dynamic { |
+ dynamic x = new self::A::•<dynamic>(new self::B::•<dynamic>()); |
+} |