Index: pkg/front_end/testcases/inference/dont_infer_type_when_initializer_is_null.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/dont_infer_type_when_initializer_is_null.dart.direct.expect b/pkg/front_end/testcases/inference/dont_infer_type_when_initializer_is_null.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7dd89fdb8e0264e64c1b5ce5f3434a9cd109117f |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/dont_infer_type_when_initializer_is_null.dart.direct.expect |
@@ -0,0 +1,11 @@ |
+library test; |
+import self as self; |
+ |
+static method test() → dynamic { |
+ dynamic x = null; |
+ x = "hi"; |
+ x = 3; |
+} |
+static method main() → dynamic { |
+ self::test(); |
+} |