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 operator +(dynamic other) → core::int |
| 10 return 1; |
| 11 operator -(dynamic other) → core::double |
| 12 return 2.0; |
| 13 } |
| 14 class B extends core::Object { |
| 15 field self::A a = null; |
| 16 constructor •() → void |
| 17 : super core::Object::•() |
| 18 ; |
| 19 } |
| 20 static field dynamic v_prefix_pp = let final dynamic #t1 = new self::B::•() in #
t1.a = #t1.a.+(1); |
| 21 static field dynamic v_prefix_mm = let final dynamic #t2 = new self::B::•() in #
t2.a = #t2.a.-(1); |
| 22 static field dynamic v_postfix_pp = let final dynamic #t3 = new self::B::•() in
let final dynamic #t4 = #t3.a in let final dynamic #t5 = #t3.a = #t4.+(1) in #t4
; |
| 23 static field dynamic v_postfix_mm = let final dynamic #t6 = new self::B::•() in
let final dynamic #t7 = #t6.a in let final dynamic #t8 = #t6.a = #t7.-(1) in #t7
; |
| 24 static method main() → dynamic {} |
OLD | NEW |