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 Index extends core::Object { | 5 class Index extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 } | 9 } |
10 class A extends core::Object { | 10 class A extends core::Object { |
11 constructor •() → void | 11 default constructor •() → void |
12 : super core::Object::•() | 12 : super core::Object::•() |
13 ; | 13 ; |
14 } | 14 } |
15 class B extends self::A { | 15 class B extends self::A { |
16 constructor •() → void | 16 default constructor •() → void |
17 : super self::A::•() | 17 : super self::A::•() |
18 ; | 18 ; |
19 operator +(self::C v) → self::A | 19 operator +(self::C v) → self::A |
20 return null; | 20 return null; |
21 operator -(core::int i) → self::B | 21 operator -(core::int i) → self::B |
22 return null; | 22 return null; |
23 operator *(self::B v) → self::B | 23 operator *(self::B v) → self::B |
24 return null; | 24 return null; |
25 operator &(self::A v) → self::C | 25 operator &(self::A v) → self::C |
26 return null; | 26 return null; |
27 } | 27 } |
28 class C extends self::B { | 28 class C extends self::B { |
29 constructor •() → void | 29 default constructor •() → void |
30 : super self::B::•() | 30 : super self::B::•() |
31 ; | 31 ; |
32 } | 32 } |
33 class Test extends core::Object { | 33 class Test extends core::Object { |
34 constructor •() → void | 34 default constructor •() → void |
35 : super core::Object::•() | 35 : super core::Object::•() |
36 ; | 36 ; |
37 operator [](self::Index i) → self::B | 37 operator [](self::Index i) → self::B |
38 return null; | 38 return null; |
39 operator []=(self::Index i, self::B v) → void {} | 39 operator []=(self::Index i, self::B v) → void {} |
40 method test() → void { | 40 method test() → void { |
41 this.[]=(self::f<dynamic>(), self::f<dynamic>()); | 41 this.[]=(self::f<dynamic>(), self::f<dynamic>()); |
42 let final dynamic #t1 = self::f<dynamic>() in this.[](#t1).==(null) ? let fi
nal dynamic #t2 = self::f<dynamic>() in let final dynamic #t3 = this.[]=(#t1, #t
2) in #t2 : null; | 42 let final dynamic #t1 = self::f<dynamic>() in this.[](#t1).==(null) ? let fi
nal dynamic #t2 = self::f<dynamic>() in let final dynamic #t3 = this.[]=(#t1, #t
2) in #t2 : null; |
43 let final dynamic #t4 = self::f<dynamic>() in this.[]=(#t4, this.[](#t4).+(s
elf::f<dynamic>())); | 43 let final dynamic #t4 = self::f<dynamic>() in this.[]=(#t4, this.[](#t4).+(s
elf::f<dynamic>())); |
44 let final dynamic #t5 = self::f<dynamic>() in this.[]=(#t5, this.[](#t5).*(s
elf::f<dynamic>())); | 44 let final dynamic #t5 = self::f<dynamic>() in this.[]=(#t5, this.[](#t5).*(s
elf::f<dynamic>())); |
45 let final dynamic #t6 = self::f<dynamic>() in this.[]=(#t6, this.[](#t6).&(s
elf::f<dynamic>())); | 45 let final dynamic #t6 = self::f<dynamic>() in this.[]=(#t6, this.[](#t6).&(s
elf::f<dynamic>())); |
46 let final dynamic #t7 = self::f<dynamic>() in let final dynamic #t8 = this.[
](#t7).-(1) in let final dynamic #t9 = this.[]=(#t7, #t8) in #t8; | 46 let final dynamic #t7 = self::f<dynamic>() in let final dynamic #t8 = this.[
](#t7).-(1) in let final dynamic #t9 = this.[]=(#t7, #t8) in #t8; |
47 let final dynamic #t10 = self::f<dynamic>() in this.[]=(#t10, this.[](#t10).
-(1)); | 47 let final dynamic #t10 = self::f<dynamic>() in this.[]=(#t10, this.[](#t10).
-(1)); |
48 dynamic v1 = let final dynamic #t11 = self::f<dynamic>() in let final dynami
c #t12 = self::f<dynamic>() in let final dynamic #t13 = this.[]=(#t11, #t12) in
#t12; | 48 dynamic v1 = let final dynamic #t11 = self::f<dynamic>() in let final dynami
c #t12 = self::f<dynamic>() in let final dynamic #t13 = this.[]=(#t11, #t12) in
#t12; |
49 dynamic v2 = let final dynamic #t14 = self::f<dynamic>() in let final dynami
c #t15 = this.[](#t14) in #t15.==(null) ? let final dynamic #t16 = self::f<dynam
ic>() in let final dynamic #t17 = this.[]=(#t14, #t16) in #t16 : #t15; | 49 dynamic v2 = let final dynamic #t14 = self::f<dynamic>() in let final dynami
c #t15 = this.[](#t14) in #t15.==(null) ? let final dynamic #t16 = self::f<dynam
ic>() in let final dynamic #t17 = this.[]=(#t14, #t16) in #t16 : #t15; |
50 dynamic v3 = let final dynamic #t18 = self::f<dynamic>() in let final dynami
c #t19 = this.[](#t18).+(self::f<dynamic>()) in let final dynamic #t20 = this.[]
=(#t18, #t19) in #t19; | 50 dynamic v3 = let final dynamic #t18 = self::f<dynamic>() in let final dynami
c #t19 = this.[](#t18).+(self::f<dynamic>()) in let final dynamic #t20 = this.[]
=(#t18, #t19) in #t19; |
51 dynamic v4 = let final dynamic #t21 = self::f<dynamic>() in let final dynami
c #t22 = this.[](#t21).*(self::f<dynamic>()) in let final dynamic #t23 = this.[]
=(#t21, #t22) in #t22; | 51 dynamic v4 = let final dynamic #t21 = self::f<dynamic>() in let final dynami
c #t22 = this.[](#t21).*(self::f<dynamic>()) in let final dynamic #t23 = this.[]
=(#t21, #t22) in #t22; |
52 dynamic v5 = let final dynamic #t24 = self::f<dynamic>() in let final dynami
c #t25 = this.[](#t24).&(self::f<dynamic>()) in let final dynamic #t26 = this.[]
=(#t24, #t25) in #t25; | 52 dynamic v5 = let final dynamic #t24 = self::f<dynamic>() in let final dynami
c #t25 = this.[](#t24).&(self::f<dynamic>()) in let final dynamic #t26 = this.[]
=(#t24, #t25) in #t25; |
53 dynamic v6 = let final dynamic #t27 = self::f<dynamic>() in let final dynami
c #t28 = this.[](#t27).-(1) in let final dynamic #t29 = this.[]=(#t27, #t28) in
#t28; | 53 dynamic v6 = let final dynamic #t27 = self::f<dynamic>() in let final dynami
c #t28 = this.[](#t27).-(1) in let final dynamic #t29 = this.[]=(#t27, #t28) in
#t28; |
54 dynamic v7 = let final dynamic #t30 = self::f<dynamic>() in let final dynami
c #t31 = this.[](#t30) in let final dynamic #t32 = this.[]=(#t30, #t31.-(1)) in
#t31; | 54 dynamic v7 = let final dynamic #t30 = self::f<dynamic>() in let final dynami
c #t31 = this.[](#t30) in let final dynamic #t32 = this.[]=(#t30, #t31.-(1)) in
#t31; |
55 } | 55 } |
56 } | 56 } |
57 static method f<T extends core::Object>() → self::f::T | 57 static method f<T extends core::Object>() → self::f::T |
58 return null; | 58 return null; |
59 static method main() → dynamic {} | 59 static method main() → dynamic {} |
OLD | NEW |