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