Index: pkg/front_end/testcases/inference/dont_infer_field_type_when_initializer_is_null.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/dont_infer_field_type_when_initializer_is_null.dart.direct.expect b/pkg/front_end/testcases/inference/dont_infer_field_type_when_initializer_is_null.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..533cba50b77c07e231105183eca245c8e58df747 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/dont_infer_field_type_when_initializer_is_null.dart.direct.expect |
@@ -0,0 +1,19 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class A extends core::Object { |
+ static field dynamic x = null; |
+ static field dynamic y = 3; |
+ field dynamic x2 = null; |
+ field dynamic y2 = 3; |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+static field dynamic x = null; |
+static field dynamic y = 3; |
+static method main() → dynamic { |
+ self::x; |
+ self::y; |
+} |