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