Index: pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart.direct.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..41cb4fa7db9f060cf08365e96e5ca76da5e7725e |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart.direct.expect |
@@ -0,0 +1,16 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class C<T extends core::Object> extends core::Object { |
+ field self::C::T t; |
+ constructor •(self::C::T t) → void |
+ : self::C::t = t, super core::Object::•() |
+ ; |
+ constructor named(core::List<self::C::T> t) → void |
+ : this self::C::•(t.[](0)) |
+ ; |
+} |
+static method main() → dynamic { |
+ dynamic x = new self::C::named<dynamic>(<core::int>[42]); |
+} |