Index: pkg/front_end/testcases/inference/downwards_inference_initializing_formal_default_formal.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/downwards_inference_initializing_formal_default_formal.dart.direct.expect b/pkg/front_end/testcases/inference/downwards_inference_initializing_formal_default_formal.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cb0d81e2f887afaa8d341ef4c4f78d5e7417deb1 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/downwards_inference_initializing_formal_default_formal.dart.direct.expect |
@@ -0,0 +1,17 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+typedef Function2<S extends core::Object, T extends core::Object> = ([S]) → T; |
+class Foo extends core::Object { |
+ field core::List<core::int> x; |
+ constructor •([core::List<core::int> x = const <dynamic>[1]]) → void |
+ : self::Foo::x = x, super core::Object::•() |
+ ; |
+ constructor named([core::List<core::int> x = const <dynamic>[1]]) → void |
+ : self::Foo::x = null, super core::Object::•() |
+ ; |
+} |
+static field ([core::List<core::int>]) → core::String g = ([dynamic llll = const <dynamic>[1]]) → dynamic => "hello"; |
+static method f([core::List<core::int> l = const <dynamic>[1]]) → void {} |
+static method main() → dynamic {} |