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

Unified Diff: pkg/fasta/test/rasta/for_loop.dart.dartk.expect

Issue 2650913007: Import rasta tests. (Closed)
Patch Set: Address comment. Created 3 years, 11 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/fasta/test/rasta/for_loop.dart ('k') | pkg/fasta/test/rasta/for_loop.dart.direct.expect » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fasta/test/rasta/for_loop.dart.dartk.expect
diff --git a/pkg/fasta/test/rasta/for_loop.dart.dartk.expect b/pkg/fasta/test/rasta/for_loop.dart.dartk.expect
new file mode 100644
index 0000000000000000000000000000000000000000..6ca16b2074c4afb73d774a63c9f2e69f01af26ba
--- /dev/null
+++ b/pkg/fasta/test/rasta/for_loop.dart.dartk.expect
@@ -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 dynamic #t1 = i in let final dynamic #t2 = i = #t1.+(1) in #t1);
+ }
+ for (core::int i = 0; i.<(100); c.<(42) ? throw "fisk" : i = i.+(1)) {
+ core::print(let final dynamic #t3 = i in let final dynamic #t4 = i = #t3.+(1) in #t3);
+ }
+}
« no previous file with comments | « pkg/fasta/test/rasta/for_loop.dart ('k') | pkg/fasta/test/rasta/for_loop.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698