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

Side by Side Diff: pkg/front_end/testcases/cascade.dart.direct.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
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 static method main() → dynamic { 5 static method main() → dynamic {
6 dynamic list = let final dynamic #t1 = <dynamic>[1] in let final dynamic #t2 = #t1.add(2) in let final dynamic #t3 = #t1.add(3) in let final dynamic #t4 = #t1 .addAll(<dynamic>[4, 5]) in #t1; 6 dynamic list = let final dynamic #t1 = <dynamic>[1] in let final dynamic #t2 = #t1.add(2) in let final dynamic #t3 = #t1.add(3) in let final dynamic #t4 = #t1 .addAll(<dynamic>[4, 5]) in #t1;
7 core::print(list); 7 core::print(list);
8 let final dynamic #t5 = list in let final dynamic #t6 = #t5.add(2) in let fina l dynamic #t7 = #t5.length in let final dynamic #t8 = #t5.length = 0 in #t5; 8 let final dynamic #t5 = list in let final dynamic #t6 = #t5.add(2) in let fina l dynamic #t7 = #t5.length in let final dynamic #t8 = #t5.length = 0 in #t5;
9 core::print(list); 9 core::print(list);
10 let final dynamic #t9 = list in let final dynamic #t10 = #t9.add(2) in let fin al dynamic #t11 = #t9.[](0) in let final dynamic #t12 = #t9.[]=(0, 87) in #t9; 10 let final dynamic #t9 = list in let final dynamic #t10 = #t9.add(2) in let fin al dynamic #t11 = #t9.[](0) in let final dynamic #t12 = #t9.[]=(0, 87) in #t9;
11 core::print(list); 11 core::print(list);
12 list = let final dynamic #t13 = <dynamic>[<dynamic>[1]] in let final dynamic # t14 = #t13.first.last.toString() in let final dynamic #t15 = #t13.first.[](0).to String() in let final dynamic #t16 = #t13.[](0).last.toString() in #t13; 12 list = let final dynamic #t13 = <dynamic>[<dynamic>[1]] in let final dynamic # t14 = #t13.first.last.toString() in let final dynamic #t15 = #t13.first.[](0).to String() in let final dynamic #t16 = #t13.[](0).last.toString() in #t13;
13 core::print(list); 13 core::print(list);
14 } 14 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/cascade.dart.dartk.expect ('k') | pkg/front_end/testcases/cascade.dart.outline.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698