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

Unified Diff: pkg/front_end/testcases/rasta/issue_000004.dart.dartk.expect

Issue 2980883003: Remove code associated with the old "kompile" functionality. (Closed)
Patch Set: Created 3 years, 5 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
Index: pkg/front_end/testcases/rasta/issue_000004.dart.dartk.expect
diff --git a/pkg/front_end/testcases/rasta/issue_000004.dart.dartk.expect b/pkg/front_end/testcases/rasta/issue_000004.dart.dartk.expect
deleted file mode 100644
index 4c7bdc02570484d64e6a0bf13a84134fc48c16cf..0000000000000000000000000000000000000000
--- a/pkg/front_end/testcases/rasta/issue_000004.dart.dartk.expect
+++ /dev/null
@@ -1,34 +0,0 @@
-library;
-import self as self;
-import "package:expect/expect.dart" as exp;
-
-static field dynamic global;
-static method fact4() → dynamic {
- dynamic f = 1;
- for (dynamic n in <dynamic>[1, 2, 3, 4]) {
- f = f.*(n);
- }
- return f;
-}
-static method fact5() → dynamic {
- dynamic f = 1;
- dynamic n;
- for (final dynamic #t1 in <dynamic>[1, 2, 3, 4, 5]) {
- n = #t1;
- f = f.*(n);
- }
- return f;
-}
-static method fact6() → dynamic {
- dynamic f = 1;
- for (final dynamic #t2 in <dynamic>[1, 2, 3, 4, 5, 6]) {
- self::global = #t2;
- f = f.*(self::global);
- }
- return f;
-}
-static method main() → dynamic {
- exp::Expect::isTrue(self::fact4().==(24));
- exp::Expect::isTrue(self::fact5().==(120));
- exp::Expect::isTrue(self::fact6().==(720));
-}

Powered by Google App Engine
This is Rietveld 408576698