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