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