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