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

Side by Side Diff: pkg/front_end/test/fasta/expressions.dart.dartk.expect

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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/test/fasta/expressions.dart ('k') | pkg/front_end/test/fasta/expressions.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698