Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.strong.expect

Issue 2951033004: Implement type inference for conventional for-loops. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.strong.expect b/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..e3d4755ab297ac21b809dd5353b6814a21a2d30d
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart.strong.expect
@@ -0,0 +1,10 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static method test() → dynamic {
+ for (core::int i = 0; i.{core::num::<}(10); i = i.{core::num::+}(1)) {
+ core::int j = i.{core::num::+}(1);
+ }
+}
+static method main() → dynamic {}
« no previous file with comments | « pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_loop_with_inference.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698