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 c = new core::DateTime::now().millisecondsSinceEpoch; | 6 core::int c = new core::DateTime::now().millisecondsSinceEpoch; |
7 for (core::int i = 0; i.<(100); i = i.+(1)) { | 7 for (core::int i = 0; i.<(100); i = i.+(1)) { |
8 core::print(let final dynamic #t1 = i in let final dynamic #t2 = i = #t1.+(1
) in #t1); | 8 core::print(let final dynamic #t1 = i in let final dynamic #t2 = i = #t1.+(1
) in #t1); |
9 } | 9 } |
10 for (core::int i = 0; i.<(100); c.<(42) ? throw "fisk" : i = i.+(1)) { | 10 for (core::int i = 0; i.<(100); c.<(42) ? throw "fisk" : i = i.+(1)) { |
11 core::print(let final dynamic #t3 = i in let final dynamic #t4 = i = #t3.+(1
) in #t3); | 11 core::print(let final dynamic #t3 = i in let final dynamic #t4 = i = #t3.+(1
) in #t3); |
12 } | 12 } |
13 } | 13 } |
OLD | NEW |