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

Side by Side Diff: pkg/front_end/testcases/expressions.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 unified diff | Download patch
OLDNEW
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4
5 static method main() → dynamic {
6 core::int i = 0;
7 core::print(i.==(1) ? "bad" : "good");
8 core::print("${i}");
9 core::print("'${i}'");
10 core::print(" '${i}' ");
11 core::print(" '${i}' '${i}'");
12 core::print(" '${i}' '${i}'");
13 core::print("foobar");
14 core::print(" '${i}' '${i}' '${i}' '${i}'");
15 try {
16 throw "fisk";
17 }
18 on core::String catch(dynamic e, dynamic s) {
19 core::print(e);
20 if(!s.==(null))
21 core::print(s);
22 }
23 for (; false; ) {
24 }
25 dynamic list = <dynamic>["Hello, World!"];
26 core::print(list.[](i));
27 list.[]=(i, "Hello, Brave New World!");
28 core::print(list.[](i));
29 i = 87;
30 core::print(i.unary-());
31 core::print(i.~());
32 core::print(!i.==(42));
33 core::print(i = i.-(1));
34 core::print(i = i.+(1));
35 core::print(let final dynamic #t1 = i in let final dynamic #t2 = i = #t1.-(1) in #t1);
36 core::print(let final dynamic #t3 = i in let final dynamic #t4 = i = #t3.+(1) in #t3);
37 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/cycles.dart.dartk.expect ('k') | pkg/front_end/testcases/fibonacci.dart.dartk.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698