OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class A extends core::Object { |
| 6 constructor •() → void |
| 7 : super core::Object::•() |
| 8 ; |
| 9 } |
| 10 class B extends self::A { |
| 11 constructor •() → void |
| 12 : super self::A::•() |
| 13 ; |
| 14 operator +(self::C v) → self::A |
| 15 return null; |
| 16 operator -(core::int i) → self::B |
| 17 return null; |
| 18 operator *(self::B v) → self::B |
| 19 return null; |
| 20 operator &(self::A v) → self::C |
| 21 return null; |
| 22 } |
| 23 class C extends self::B { |
| 24 constructor •() → void |
| 25 : super self::B::•() |
| 26 ; |
| 27 } |
| 28 class Test extends core::Object { |
| 29 field self::B member = null; |
| 30 constructor •() → void |
| 31 : super core::Object::•() |
| 32 ; |
| 33 static method test(self::Test t) → void { |
| 34 t.member = self::f(); |
| 35 let final dynamic #t1 = t in #t1.member.==(null) ? #t1.member = self::f() :
null; |
| 36 let final dynamic #t2 = t in #t2.member = #t2.member.+(self::f()); |
| 37 let final dynamic #t3 = t in #t3.member = #t3.member.*(self::f()); |
| 38 let final dynamic #t4 = t in #t4.member = #t4.member.&(self::f()); |
| 39 let final dynamic #t5 = t in #t5.member = #t5.member.-(1); |
| 40 let final dynamic #t6 = t in #t6.member = #t6.member.-(1); |
| 41 dynamic v1 = t.member = self::f(); |
| 42 dynamic v2 = let final dynamic #t7 = t in let final dynamic #t8 = #t7.member
in #t8.==(null) ? #t7.member = self::f() : #t8; |
| 43 dynamic v3 = let final dynamic #t9 = t in #t9.member = #t9.member.+(self::f(
)); |
| 44 dynamic v4 = let final dynamic #t10 = t in #t10.member = #t10.member.*(self:
:f()); |
| 45 dynamic v5 = let final dynamic #t11 = t in #t11.member = #t11.member.&(self:
:f()); |
| 46 dynamic v6 = let final dynamic #t12 = t in #t12.member = #t12.member.-(1); |
| 47 dynamic v7 = let final dynamic #t13 = t in let final dynamic #t14 = #t13.mem
ber in let final dynamic #t15 = #t13.member = #t14.-(1) in #t14; |
| 48 } |
| 49 } |
| 50 static method f() → dynamic |
| 51 return null; |
| 52 static method main() → dynamic {} |
OLD | NEW |