Index: pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.direct.expect b/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0445457d6fc058db78cfe1806dc855721bc20f19 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.direct.expect |
@@ -0,0 +1,10 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static method test() → dynamic { |
+ for (dynamic i = 0; i.<(10); i = i.+(1)) { |
+ core::int j = i.+(1); |
+ } |
+} |
+static method main() → dynamic {} |