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

Unified Diff: test/kernel/regression/for_loop.dart.txt

Issue 2070143002: Track void context. (Closed) Base URL: git@github.com:dart-lang/rasta.git@visit_for_value
Patch Set: Merged with ad52721ca12cbb5c47e968ae2070408e1fef7017 Created 4 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 | « test/kernel/regression/for_loop.dart ('k') | test/kernel/regression/static.dart.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/for_loop.dart.txt
diff --git a/test/kernel/regression/for_loop.dart.txt b/test/kernel/regression/for_loop.dart.txt
new file mode 100644
index 0000000000000000000000000000000000000000..696c257024221b070739e02494c7b18b1976501d
--- /dev/null
+++ b/test/kernel/regression/for_loop.dart.txt
@@ -0,0 +1,13 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+static method main() → dynamic {
+ core::int c = new core::DateTime::now().millisecondsSinceEpoch;
+ for(core::int i = 0; i.<(100); i = i.+(1)) {
+ core::print(let final #t1 = i in let final #t2 = i = #t1.+(1) in #t1);
+ }
+ for(core::int i = 0; i.<(100); c.<(42) ? throw "fisk" : i = i.+(1)) {
+ core::print(let final #t3 = i in let final #t4 = i = #t3.+(1) in #t3);
+ }
+}
« no previous file with comments | « test/kernel/regression/for_loop.dart ('k') | test/kernel/regression/static.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698