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 core::int i = 0; | 6 core::int i = 0; |
7 core::print(i.==(1) ? "bad" : "good"); | 7 core::print(i.==(1) ? "bad" : "good"); |
8 core::print("${i}"); | 8 core::print("${i}"); |
9 core::print("'${i}'"); | 9 core::print("'${i}'"); |
10 core::print(" '${i}' "); | 10 core::print(" '${i}' "); |
(...skipping 17 matching lines...) Expand all Loading... |
28 core::print(list.[](i)); | 28 core::print(list.[](i)); |
29 i = 87; | 29 i = 87; |
30 core::print(i.unary-()); | 30 core::print(i.unary-()); |
31 core::print(i.~()); | 31 core::print(i.~()); |
32 core::print(!i.==(42)); | 32 core::print(!i.==(42)); |
33 core::print(i = i.-(1)); | 33 core::print(i = i.-(1)); |
34 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); | 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); | 36 core::print(let final dynamic #t3 = i in let final dynamic #t4 = i = #t3.+(1)
in #t3); |
37 } | 37 } |
OLD | NEW |