OLD | NEW |
1 library test; | 1 library test; |
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 field core::int topLevelInt; | 5 static field core::int topLevelInt; |
6 static field core::num topLevelNum; | 6 static field core::num topLevelNum; |
7 static field core::double topLevelDouble; | 7 static field core::double topLevelDouble; |
8 static method getInt() → core::int | 8 static method getInt() → core::int |
9 return 0; | 9 return 0; |
10 static method getNum() → core::num | 10 static method getNum() → core::num |
11 return 0; | 11 return 0; |
12 static method getDouble() → core::double | 12 static method getDouble() → core::double |
13 return 0.0; | 13 return 0.0; |
14 static method test1() → void { | 14 static method test1() → void { |
15 core::int v1 = self::topLevelInt = self::getInt(); | 15 core::int v1 = self::topLevelInt = self::getInt(); |
16 core::num v2 = self::topLevelInt = self::getNum(); | 16 core::num v2 = self::topLevelInt = self::getNum(); |
17 core::int v4 = let final dynamic #t1 = self::topLevelInt in #t1.{core::num::==
}(null) ?{dynamic} self::topLevelInt = self::getInt() : #t1; | 17 core::int v4 = let final dynamic #t1 = self::topLevelInt in #t1.{core::num::==
}(null) ? self::topLevelInt = self::getInt() : #t1; |
18 core::num v5 = let final dynamic #t2 = self::topLevelInt in #t2.{core::num::==
}(null) ?{dynamic} self::topLevelInt = self::getNum() : #t2; | 18 core::num v5 = let final dynamic #t2 = self::topLevelInt in #t2.{core::num::==
}(null) ? self::topLevelInt = self::getNum() : #t2; |
19 core::int v7 = self::topLevelInt = self::topLevelInt.{core::num::+}(self::getI
nt()); | 19 core::int v7 = self::topLevelInt = self::topLevelInt.{core::num::+}(self::getI
nt()); |
20 core::num v8 = self::topLevelInt = self::topLevelInt.{core::num::+}(self::getN
um()); | 20 core::num v8 = self::topLevelInt = self::topLevelInt.{core::num::+}(self::getN
um()); |
21 core::int v10 = self::topLevelInt = self::topLevelInt.{core::num::+}(1); | 21 core::int v10 = self::topLevelInt = self::topLevelInt.{core::num::+}(1); |
22 core::int v11 = let final dynamic #t3 = self::topLevelInt in let final dynamic
#t4 = self::topLevelInt = #t3.{core::num::+}(1) in #t3; | 22 core::int v11 = let final dynamic #t3 = self::topLevelInt in let final dynamic
#t4 = self::topLevelInt = #t3.{core::num::+}(1) in #t3; |
23 } | 23 } |
24 static method test2() → void { | 24 static method test2() → void { |
25 core::int v1 = self::topLevelNum = self::getInt(); | 25 core::int v1 = self::topLevelNum = self::getInt(); |
26 core::num v2 = self::topLevelNum = self::getNum(); | 26 core::num v2 = self::topLevelNum = self::getNum(); |
27 core::double v3 = self::topLevelNum = self::getDouble(); | 27 core::double v3 = self::topLevelNum = self::getDouble(); |
28 core::num v4 = let final dynamic #t5 = self::topLevelNum in #t5.{core::num::==
}(null) ?{dynamic} self::topLevelNum = self::getInt() : #t5; | 28 core::num v4 = let final dynamic #t5 = self::topLevelNum in #t5.{core::num::==
}(null) ? self::topLevelNum = self::getInt() : #t5; |
29 core::num v5 = let final dynamic #t6 = self::topLevelNum in #t6.{core::num::==
}(null) ?{dynamic} self::topLevelNum = self::getNum() : #t6; | 29 core::num v5 = let final dynamic #t6 = self::topLevelNum in #t6.{core::num::==
}(null) ? self::topLevelNum = self::getNum() : #t6; |
30 core::num v6 = let final dynamic #t7 = self::topLevelNum in #t7.{core::num::==
}(null) ?{dynamic} self::topLevelNum = self::getDouble() : #t7; | 30 core::num v6 = let final dynamic #t7 = self::topLevelNum in #t7.{core::num::==
}(null) ? self::topLevelNum = self::getDouble() : #t7; |
31 core::num v7 = self::topLevelNum = self::topLevelNum.{core::num::+}(self::getI
nt()); | 31 core::num v7 = self::topLevelNum = self::topLevelNum.{core::num::+}(self::getI
nt()); |
32 core::num v8 = self::topLevelNum = self::topLevelNum.{core::num::+}(self::getN
um()); | 32 core::num v8 = self::topLevelNum = self::topLevelNum.{core::num::+}(self::getN
um()); |
33 core::num v9 = self::topLevelNum = self::topLevelNum.{core::num::+}(self::getD
ouble()); | 33 core::num v9 = self::topLevelNum = self::topLevelNum.{core::num::+}(self::getD
ouble()); |
34 core::num v10 = self::topLevelNum = self::topLevelNum.{core::num::+}(1); | 34 core::num v10 = self::topLevelNum = self::topLevelNum.{core::num::+}(1); |
35 core::num v11 = let final dynamic #t8 = self::topLevelNum in let final dynamic
#t9 = self::topLevelNum = #t8.{core::num::+}(1) in #t8; | 35 core::num v11 = let final dynamic #t8 = self::topLevelNum in let final dynamic
#t9 = self::topLevelNum = #t8.{core::num::+}(1) in #t8; |
36 } | 36 } |
37 static method test3() → void { | 37 static method test3() → void { |
38 core::num v2 = self::topLevelDouble = self::getNum(); | 38 core::num v2 = self::topLevelDouble = self::getNum(); |
39 core::double v3 = self::topLevelDouble = self::getDouble(); | 39 core::double v3 = self::topLevelDouble = self::getDouble(); |
40 core::num v5 = let final dynamic #t10 = self::topLevelDouble in #t10.{core::nu
m::==}(null) ?{dynamic} self::topLevelDouble = self::getNum() : #t10; | 40 core::num v5 = let final dynamic #t10 = self::topLevelDouble in #t10.{core::nu
m::==}(null) ? self::topLevelDouble = self::getNum() : #t10; |
41 core::double v6 = let final dynamic #t11 = self::topLevelDouble in #t11.{core:
:num::==}(null) ?{dynamic} self::topLevelDouble = self::getDouble() : #t11; | 41 core::double v6 = let final dynamic #t11 = self::topLevelDouble in #t11.{core:
:num::==}(null) ? self::topLevelDouble = self::getDouble() : #t11; |
42 core::double v7 = self::topLevelDouble = self::topLevelDouble.{core::double::+
}(self::getInt()); | 42 core::double v7 = self::topLevelDouble = self::topLevelDouble.{core::double::+
}(self::getInt()); |
43 core::double v8 = self::topLevelDouble = self::topLevelDouble.{core::double::+
}(self::getNum()); | 43 core::double v8 = self::topLevelDouble = self::topLevelDouble.{core::double::+
}(self::getNum()); |
44 core::double v9 = self::topLevelDouble = self::topLevelDouble.{core::double::+
}(self::getDouble()); | 44 core::double v9 = self::topLevelDouble = self::topLevelDouble.{core::double::+
}(self::getDouble()); |
45 core::double v10 = self::topLevelDouble = self::topLevelDouble.{core::double::
+}(1); | 45 core::double v10 = self::topLevelDouble = self::topLevelDouble.{core::double::
+}(1); |
46 core::double v11 = let final dynamic #t12 = self::topLevelDouble in let final
dynamic #t13 = self::topLevelDouble = #t12.{core::double::+}(1) in #t12; | 46 core::double v11 = let final dynamic #t12 = self::topLevelDouble in let final
dynamic #t13 = self::topLevelDouble = #t12.{core::double::+}(1) in #t12; |
47 } | 47 } |
48 static method main() → dynamic {} | 48 static method main() → dynamic {} |
OLD | NEW |