OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class Base extends core::Object { |
| 6 field core::int intProp = null; |
| 7 field core::num numProp = null; |
| 8 field core::double doubleProp = null; |
| 9 constructor •() → void |
| 10 : super core::Object::•() |
| 11 ; |
| 12 } |
| 13 class Test1 extends self::Base { |
| 14 constructor •() → void |
| 15 : super self::Base::•() |
| 16 ; |
| 17 method test() → void { |
| 18 core::int v1 = this.{=self::Base::intProp} = self::getInt(); |
| 19 core::num v2 = this.{=self::Base::intProp} = self::getNum(); |
| 20 core::int v4 = let final dynamic #t1 = this.{=self::Base::intProp} in #t1.{c
ore::num::==}(null) ? this.{=self::Base::intProp} = self::getInt() : #t1; |
| 21 core::num v5 = let final dynamic #t2 = this.{=self::Base::intProp} in #t2.{c
ore::num::==}(null) ? this.{=self::Base::intProp} = self::getNum() : #t2; |
| 22 core::int v7 = this.{=self::Base::intProp} = this.{=self::Base::intProp}.{co
re::num::+}(self::getInt()); |
| 23 core::num v8 = this.{=self::Base::intProp} = this.{=self::Base::intProp}.{co
re::num::+}(self::getNum()); |
| 24 core::int v10 = this.{=self::Base::intProp} = this.{=self::Base::intProp}.{c
ore::num::+}(1); |
| 25 core::int v11 = let final dynamic #t3 = this.{=self::Base::intProp} in let f
inal dynamic #t4 = this.{=self::Base::intProp} = #t3.{core::num::+}(1) in #t3; |
| 26 } |
| 27 } |
| 28 class Test2 extends self::Base { |
| 29 constructor •() → void |
| 30 : super self::Base::•() |
| 31 ; |
| 32 method test() → void { |
| 33 core::int v1 = this.{=self::Base::numProp} = self::getInt(); |
| 34 core::num v2 = this.{=self::Base::numProp} = self::getNum(); |
| 35 core::double v3 = this.{=self::Base::numProp} = self::getDouble(); |
| 36 core::num v4 = let final dynamic #t5 = this.{=self::Base::numProp} in #t5.{c
ore::num::==}(null) ? this.{=self::Base::numProp} = self::getInt() : #t5; |
| 37 core::num v5 = let final dynamic #t6 = this.{=self::Base::numProp} in #t6.{c
ore::num::==}(null) ? this.{=self::Base::numProp} = self::getNum() : #t6; |
| 38 core::num v6 = let final dynamic #t7 = this.{=self::Base::numProp} in #t7.{c
ore::num::==}(null) ? this.{=self::Base::numProp} = self::getDouble() : #t7; |
| 39 core::num v7 = this.{=self::Base::numProp} = this.{=self::Base::numProp}.{co
re::num::+}(self::getInt()); |
| 40 core::num v8 = this.{=self::Base::numProp} = this.{=self::Base::numProp}.{co
re::num::+}(self::getNum()); |
| 41 core::num v9 = this.{=self::Base::numProp} = this.{=self::Base::numProp}.{co
re::num::+}(self::getDouble()); |
| 42 core::num v10 = this.{=self::Base::numProp} = this.{=self::Base::numProp}.{c
ore::num::+}(1); |
| 43 core::num v11 = let final dynamic #t8 = this.{=self::Base::numProp} in let f
inal dynamic #t9 = this.{=self::Base::numProp} = #t8.{core::num::+}(1) in #t8; |
| 44 } |
| 45 } |
| 46 class Test3 extends self::Base { |
| 47 constructor •() → void |
| 48 : super self::Base::•() |
| 49 ; |
| 50 method test3() → void { |
| 51 core::num v2 = this.{=self::Base::doubleProp} = self::getNum(); |
| 52 core::double v3 = this.{=self::Base::doubleProp} = self::getDouble(); |
| 53 core::num v5 = let final dynamic #t10 = this.{=self::Base::doubleProp} in #t
10.{core::num::==}(null) ? this.{=self::Base::doubleProp} = self::getNum() : #t1
0; |
| 54 core::double v6 = let final dynamic #t11 = this.{=self::Base::doubleProp} in
#t11.{core::num::==}(null) ? this.{=self::Base::doubleProp} = self::getDouble()
: #t11; |
| 55 core::double v7 = this.{=self::Base::doubleProp} = this.{=self::Base::double
Prop}.{core::double::+}(self::getInt()); |
| 56 core::double v8 = this.{=self::Base::doubleProp} = this.{=self::Base::double
Prop}.{core::double::+}(self::getNum()); |
| 57 core::double v9 = this.{=self::Base::doubleProp} = this.{=self::Base::double
Prop}.{core::double::+}(self::getDouble()); |
| 58 core::double v10 = this.{=self::Base::doubleProp} = this.{=self::Base::doubl
eProp}.{core::double::+}(1); |
| 59 core::double v11 = let final dynamic #t12 = this.{=self::Base::doubleProp} i
n let final dynamic #t13 = this.{=self::Base::doubleProp} = #t12.{core::double::
+}(1) in #t12; |
| 60 } |
| 61 } |
| 62 static method getInt() → core::int |
| 63 return 0; |
| 64 static method getNum() → core::num |
| 65 return 0; |
| 66 static method getDouble() → core::double |
| 67 return 0.0; |
| 68 static method main() → dynamic {} |
OLD | NEW |