OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class Test1 extends core::Object { |
| 6 field core::int prop = null; |
| 7 constructor •() → void |
| 8 : super core::Object::•() |
| 9 ; |
| 10 static method test(self::Test1 t) → void { |
| 11 dynamic v1 = t.prop = self::getInt(); |
| 12 dynamic v2 = t.prop = self::getNum(); |
| 13 dynamic v4 = let final dynamic #t1 = t in let final dynamic #t2 = #t1.prop i
n #t2.==(null) ? #t1.prop = self::getInt() : #t2; |
| 14 dynamic v5 = let final dynamic #t3 = t in let final dynamic #t4 = #t3.prop i
n #t4.==(null) ? #t3.prop = self::getNum() : #t4; |
| 15 dynamic v7 = let final dynamic #t5 = t in #t5.prop = #t5.prop.+(self::getInt
()); |
| 16 dynamic v8 = let final dynamic #t6 = t in #t6.prop = #t6.prop.+(self::getNum
()); |
| 17 dynamic v10 = let final dynamic #t7 = t in #t7.prop = #t7.prop.+(1); |
| 18 dynamic v11 = let final dynamic #t8 = t in let final dynamic #t9 = #t8.prop
in let final dynamic #t10 = #t8.prop = #t9.+(1) in #t9; |
| 19 } |
| 20 } |
| 21 class Test2 extends core::Object { |
| 22 field core::num prop = null; |
| 23 constructor •() → void |
| 24 : super core::Object::•() |
| 25 ; |
| 26 static method test(self::Test2 t) → void { |
| 27 dynamic v1 = t.prop = self::getInt(); |
| 28 dynamic v2 = t.prop = self::getNum(); |
| 29 dynamic v3 = t.prop = self::getDouble(); |
| 30 dynamic v4 = let final dynamic #t11 = t in let final dynamic #t12 = #t11.pro
p in #t12.==(null) ? #t11.prop = self::getInt() : #t12; |
| 31 dynamic v5 = let final dynamic #t13 = t in let final dynamic #t14 = #t13.pro
p in #t14.==(null) ? #t13.prop = self::getNum() : #t14; |
| 32 dynamic v6 = let final dynamic #t15 = t in let final dynamic #t16 = #t15.pro
p in #t16.==(null) ? #t15.prop = self::getDouble() : #t16; |
| 33 dynamic v7 = let final dynamic #t17 = t in #t17.prop = #t17.prop.+(self::get
Int()); |
| 34 dynamic v8 = let final dynamic #t18 = t in #t18.prop = #t18.prop.+(self::get
Num()); |
| 35 dynamic v9 = let final dynamic #t19 = t in #t19.prop = #t19.prop.+(self::get
Double()); |
| 36 dynamic v10 = let final dynamic #t20 = t in #t20.prop = #t20.prop.+(1); |
| 37 dynamic v11 = let final dynamic #t21 = t in let final dynamic #t22 = #t21.pr
op in let final dynamic #t23 = #t21.prop = #t22.+(1) in #t22; |
| 38 } |
| 39 } |
| 40 class Test3 extends core::Object { |
| 41 field core::double prop = null; |
| 42 constructor •() → void |
| 43 : super core::Object::•() |
| 44 ; |
| 45 static method test3(self::Test3 t) → void { |
| 46 dynamic v2 = t.prop = self::getNum(); |
| 47 dynamic v3 = t.prop = self::getDouble(); |
| 48 dynamic v5 = let final dynamic #t24 = t in let final dynamic #t25 = #t24.pro
p in #t25.==(null) ? #t24.prop = self::getNum() : #t25; |
| 49 dynamic v6 = let final dynamic #t26 = t in let final dynamic #t27 = #t26.pro
p in #t27.==(null) ? #t26.prop = self::getDouble() : #t27; |
| 50 dynamic v7 = let final dynamic #t28 = t in #t28.prop = #t28.prop.+(self::get
Int()); |
| 51 dynamic v8 = let final dynamic #t29 = t in #t29.prop = #t29.prop.+(self::get
Num()); |
| 52 dynamic v9 = let final dynamic #t30 = t in #t30.prop = #t30.prop.+(self::get
Double()); |
| 53 dynamic v10 = let final dynamic #t31 = t in #t31.prop = #t31.prop.+(1); |
| 54 dynamic v11 = let final dynamic #t32 = t in let final dynamic #t33 = #t32.pr
op in let final dynamic #t34 = #t32.prop = #t33.+(1) in #t33; |
| 55 } |
| 56 } |
| 57 static method getInt() → core::int |
| 58 return 0; |
| 59 static method getNum() → core::num |
| 60 return 0; |
| 61 static method getDouble() → core::double |
| 62 return 0.0; |
| 63 static method main() → dynamic {} |
OLD | NEW |