OLD | NEW |
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 } |
OLD | NEW |