OLD | NEW |
1 library; | 1 library; |
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 field dynamic a = null; | 6 field dynamic a; |
7 field dynamic b = null; | 7 field dynamic b; |
8 field dynamic c = null; | 8 field dynamic c; |
9 field dynamic d = null; | 9 field dynamic d; |
10 final field dynamic f = null; | 10 final field dynamic f; |
11 constructor •() → void | 11 constructor •() → self::A |
12 : super core::Object::•() | 12 : super core::Object::•(); |
13 ; | |
14 get e() → dynamic | 13 get e() → dynamic |
15 return null; | 14 return null; |
16 set g(dynamic _) → dynamic {} | 15 set g(dynamic _) → dynamic {} |
17 get h() → dynamic | 16 get h() → dynamic |
18 return null; | 17 return null; |
19 set h(dynamic _) → dynamic {} | 18 set h(dynamic _) → dynamic {} |
20 get i() → dynamic | 19 get i() → dynamic |
21 return null; | 20 return null; |
22 operator [](dynamic _) → dynamic | 21 operator [](dynamic _) → dynamic |
23 return null; | 22 return null; |
24 operator []=(dynamic a, dynamic b) → dynamic {} | 23 operator []=(dynamic a, dynamic b) → dynamic {} |
25 operator ~() → dynamic | 24 operator ~() → dynamic |
26 return 117; | 25 return 117; |
27 operator unary-() → dynamic | 26 operator unary-() → dynamic |
28 return 117; | 27 return 117; |
29 operator ==(dynamic other) → dynamic | 28 operator ==(dynamic other) → dynamic |
30 return true; | 29 return true; |
31 method m() → void {} | 30 method m() → void {} |
32 method n() → void {} | 31 method n() → void {} |
33 set n(dynamic _) → dynamic {} | 32 set n(dynamic _) → dynamic {} |
34 } | 33 } |
35 class B extends self::A { | 34 class B extends self::A { |
36 final field dynamic d = null; | 35 final field dynamic d; |
37 constructor •() → void | 36 constructor •() → self::B |
38 : super self::A::•() | 37 : super self::A::•(); |
39 ; | |
40 get b() → dynamic | 38 get b() → dynamic |
41 return null; | 39 return null; |
42 set c(dynamic x) → dynamic {} | 40 set c(dynamic x) → dynamic {} |
43 set i(dynamic x) → dynamic {} | 41 set i(dynamic x) → dynamic {} |
44 } | 42 } |
45 class C extends self::B { | 43 class C extends self::B { |
46 constructor •() → void | 44 constructor •() → self::C |
47 : super self::B::•() | 45 : super self::B::•(); |
48 ; | |
49 method test() → dynamic { | 46 method test() → dynamic { |
50 super.~(); | 47 super.{self::A::~}(); |
51 self::use(super.~()); | 48 self::use(super.{self::A::~}()); |
52 super.unary-(); | 49 super.{self::A::unary-}(); |
53 self::use(super.unary-()); | 50 self::use(super.{self::A::unary-}()); |
54 const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError
::•("pkg/front_end/testcases/rasta/super.dart:43:6: Error: Can't use `super` as
an expression.\n +super;\n ^")); | 51 invalid-expression; |
55 self::use(const core::_ConstantExpressionError::•()._throw(new core::_Compil
eTimeError::•("pkg/front_end/testcases/rasta/super.dart:44:10: Error: Can't use
`super` as an expression.\n use(+super);\n ^"))); | 52 self::use(invalid-expression); |
56 super.==(87); | 53 super.{self::A::==}(87); |
57 self::use(super.==(87)); | 54 self::use(super.{self::A::==}(87)); |
58 !super.==(87); | 55 !super.{self::A::==}(87); |
59 self::use(!super.==(87)); | 56 self::use(!super.{self::A::==}(87)); |
60 super.{self::A::a}; | 57 super.{self::A::a}; |
61 self::use(super.{self::A::a}); | 58 self::use(super.{self::A::a}); |
62 super.{self::B::b}; | 59 super.{self::B::b}; |
63 self::use(super.{self::B::b}); | 60 self::use(super.{self::B::b}); |
64 super.{self::A::c}; | 61 super.{self::A::c}; |
65 self::use(super.{self::A::c}); | 62 self::use(super.{self::A::c}); |
66 super.{self::B::d}; | 63 super.{self::B::d}; |
67 self::use(super.{self::B::d}); | 64 self::use(super.{self::B::d}); |
68 super.{self::A::e}; | 65 super.{self::A::e}; |
69 self::use(super.{self::A::e}); | 66 self::use(super.{self::A::e}); |
70 super.{self::A::f}; | 67 super.{self::A::f}; |
71 self::use(super.{self::A::f}); | 68 self::use(super.{self::A::f}); |
72 super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynamic>[0, 1, 1
].toList(growable: false), <dynamic>[this].toList(growable: false), true)); | 69 super.g; |
73 self::use(super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami
c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr
ue))); | 70 self::use(super.g); |
74 super.{self::A::h}; | 71 super.{self::A::h}; |
75 self::use(super.{self::A::h}); | 72 self::use(super.{self::A::h}); |
76 super.{self::A::i}; | 73 super.{self::A::i}; |
77 self::use(super.{self::A::i}); | 74 self::use(super.{self::A::i}); |
78 super.{self::A::[]}(87); | 75 super.{self::A::[]}(87); |
79 self::use(super.{self::A::[]}(87)); | 76 self::use(super.{self::A::[]}(87)); |
80 super.{self::A::m}; | 77 super.{self::A::m}; |
81 self::use(super.{self::A::m}); | 78 self::use(super.{self::A::m}); |
82 super.{self::A::n}; | 79 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn
amic>{}, null); |
83 self::use(super.{self::A::n}); | 80 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy
namic, dynamic>{}, null)); |
84 super.a = super.a.+(1); | 81 super.{self::A::a} = super.{self::A::a}.+(1); |
85 self::use(let final dynamic #t1 = super.a in let final dynamic #t2 = super.a
= #t1.+(1) in #t1); | 82 self::use(let final dynamic #t1 = super.{self::A::a} in let final dynamic #t
2 = super.{self::A::a} = #t1.+(1) in #t1); |
86 super.b = super.b.+(1); | 83 super.{self::A::b} = super.{self::B::b}.+(1); |
87 self::use(let final dynamic #t3 = super.b in let final dynamic #t4 = super.b
= #t3.+(1) in #t3); | 84 self::use(let final dynamic #t3 = super.{self::B::b} in let final dynamic #t
4 = super.{self::A::b} = #t3.+(1) in #t3); |
88 super.c = super.c.+(1); | 85 super.{self::B::c} = super.{self::A::c}.+(1); |
89 self::use(let final dynamic #t5 = super.c in let final dynamic #t6 = super.c
= #t5.+(1) in #t5); | 86 self::use(let final dynamic #t5 = super.{self::A::c} in let final dynamic #t
6 = super.{self::B::c} = #t5.+(1) in #t5); |
90 super.d = super.d.+(1); | 87 super.d = super.{self::B::d}.+(1); |
91 self::use(let final dynamic #t7 = super.d in let final dynamic #t8 = super.d
= #t7.+(1) in #t7); | 88 self::use(let final dynamic #t7 = super.{self::B::d} in let final dynamic #t
8 = super.d = #t7.+(1) in #t7); |
92 let final dynamic #t9 = super.e.+(1) in let final dynamic #t10 = super.noSuc
hMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growab
le: false), <dynamic>[this, #t9].toList(growable: false), true)) in #t9; | 89 super.e = super.{self::A::e}.+(1); |
93 self::use(let final dynamic #t11 = super.e in let final dynamic #t12 = let f
inal dynamic #t13 = #t11.+(1) in let final dynamic #t14 = super.noSuchMethod(new
core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false),
<dynamic>[this, #t13].toList(growable: false), true)) in #t13 in #t11); | 90 self::use(let final dynamic #t9 = super.{self::A::e} in let final dynamic #t
10 = super.e = #t9.+(1) in #t9); |
94 let final dynamic #t15 = super.f.+(1) in let final dynamic #t16 = super.noSu
chMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growa
ble: false), <dynamic>[this, #t15].toList(growable: false), true)) in #t15; | 91 super.f = super.{self::A::f}.+(1); |
95 self::use(let final dynamic #t17 = super.f in let final dynamic #t18 = let f
inal dynamic #t19 = #t17.+(1) in let final dynamic #t20 = super.noSuchMethod(new
core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false),
<dynamic>[this, #t19].toList(growable: false), true)) in #t19 in #t17); | 92 self::use(let final dynamic #t11 = super.{self::A::f} in let final dynamic #
t12 = super.f = #t11.+(1) in #t11); |
96 super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami
c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr
ue)).+(1); | 93 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn
amic>{}, null); |
97 self::use(let final dynamic #t21 = super.noSuchMethod(new core::_InvocationM
irror::•("get:g", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].to
List(growable: false), true)) in let final dynamic #t22 = super.g = #t21.+(1) in
#t21); | 94 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy
namic, dynamic>{}, null)); |
98 super.h = super.h.+(1); | 95 super.{self::A::h} = super.{self::A::h}.+(1); |
99 self::use(let final dynamic #t23 = super.h in let final dynamic #t24 = super
.h = #t23.+(1) in #t23); | 96 self::use(let final dynamic #t13 = super.{self::A::h} in let final dynamic #
t14 = super.{self::A::h} = #t13.+(1) in #t13); |
100 super.i = super.i.+(1); | 97 super.{self::B::i} = super.{self::A::i}.+(1); |
101 self::use(let final dynamic #t25 = super.i in let final dynamic #t26 = super
.i = #t25.+(1) in #t25); | 98 self::use(let final dynamic #t15 = super.{self::A::i} in let final dynamic #
t16 = super.{self::B::i} = #t15.+(1) in #t15); |
102 let final dynamic #t27 = 87 in super.[]=(#t27, super.[](#t27).+(1)); | 99 let final dynamic #t17 = 87 in super.{self::A::[]=}(#t17, super.{self::A::[]
}(#t17).+(1)); |
103 self::use(let final dynamic #t28 = 87 in let final dynamic #t29 = super.[](#
t28) in let final dynamic #t30 = super.[]=(#t28, #t29.+(1)) in #t29); | 100 self::use(let final dynamic #t18 = 87 in let final dynamic #t19 = super.{sel
f::A::[]}(#t18) in let final dynamic #t20 = super.{self::A::[]=}(#t18, #t19.+(1)
) in #t19); |
104 let final dynamic #t31 = super.m.+(1) in let final dynamic #t32 = super.noSu
chMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growa
ble: false), <dynamic>[this, #t31].toList(growable: false), true)) in #t31; | 101 super.m = super.{self::A::m}.+(1); |
105 self::use(let final dynamic #t33 = super.m in let final dynamic #t34 = let f
inal dynamic #t35 = #t33.+(1) in let final dynamic #t36 = super.noSuchMethod(new
core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false),
<dynamic>[this, #t35].toList(growable: false), true)) in #t35 in #t33); | 102 self::use(let final dynamic #t21 = super.{self::A::m} in let final dynamic #
t22 = super.m = #t21.+(1) in #t21); |
106 super.n = super.n.+(1); | 103 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn
amic>{}, null); |
107 self::use(let final dynamic #t37 = super.n in let final dynamic #t38 = super
.n = #t37.+(1) in #t37); | 104 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy
namic, dynamic>{}, null)); |
108 super.a = super.a.+(1); | 105 super.{self::A::a} = super.{self::A::a}.+(1); |
109 self::use(super.a = super.a.+(1)); | 106 self::use(super.{self::A::a} = super.{self::A::a}.+(1)); |
110 super.b = super.b.+(1); | 107 super.{self::A::b} = super.{self::B::b}.+(1); |
111 self::use(super.b = super.b.+(1)); | 108 self::use(super.{self::A::b} = super.{self::B::b}.+(1)); |
112 super.c = super.c.+(1); | 109 super.{self::B::c} = super.{self::A::c}.+(1); |
113 self::use(super.c = super.c.+(1)); | 110 self::use(super.{self::B::c} = super.{self::A::c}.+(1)); |
114 super.d = super.d.+(1); | 111 super.d = super.{self::B::d}.+(1); |
115 self::use(super.d = super.d.+(1)); | 112 self::use(super.d = super.{self::B::d}.+(1)); |
116 let final dynamic #t39 = super.e.+(1) in let final dynamic #t40 = super.noSu
chMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growa
ble: false), <dynamic>[this, #t39].toList(growable: false), true)) in #t39; | 113 super.e = super.{self::A::e}.+(1); |
117 self::use(let final dynamic #t41 = super.e.+(1) in let final dynamic #t42 =
super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].to
List(growable: false), <dynamic>[this, #t41].toList(growable: false), true)) in
#t41); | 114 self::use(super.e = super.{self::A::e}.+(1)); |
118 let final dynamic #t43 = super.f.+(1) in let final dynamic #t44 = super.noSu
chMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growa
ble: false), <dynamic>[this, #t43].toList(growable: false), true)) in #t43; | 115 super.f = super.{self::A::f}.+(1); |
119 self::use(let final dynamic #t45 = super.f.+(1) in let final dynamic #t46 =
super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].to
List(growable: false), <dynamic>[this, #t45].toList(growable: false), true)) in
#t45); | 116 self::use(super.f = super.{self::A::f}.+(1)); |
120 super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami
c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr
ue)).+(1); | 117 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn
amic>{}, null); |
121 self::use(super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g
", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable:
false), true)).+(1)); | 118 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy
namic, dynamic>{}, null)); |
122 super.h = super.h.+(1); | 119 super.{self::A::h} = super.{self::A::h}.+(1); |
123 self::use(super.h = super.h.+(1)); | 120 self::use(super.{self::A::h} = super.{self::A::h}.+(1)); |
124 super.i = super.i.+(1); | 121 super.{self::B::i} = super.{self::A::i}.+(1); |
125 self::use(super.i = super.i.+(1)); | 122 self::use(super.{self::B::i} = super.{self::A::i}.+(1)); |
126 let final dynamic #t47 = 87 in let final dynamic #t48 = super.[](#t47).+(1)
in let final dynamic #t49 = super.[]=(#t47, #t48) in #t48; | 123 let final dynamic #t23 = 87 in super.{self::A::[]=}(#t23, super.{self::A::[]
}(#t23).+(1)); |
127 self::use(let final dynamic #t50 = 87 in let final dynamic #t51 = super.[](#
t50).+(1) in let final dynamic #t52 = super.[]=(#t50, #t51) in #t51); | 124 self::use(let final dynamic #t24 = 87 in let final dynamic #t25 = super.{sel
f::A::[]}(#t24).+(1) in let final dynamic #t26 = super.{self::A::[]=}(#t24, #t25
) in #t25); |
128 let final dynamic #t53 = super.m.+(1) in let final dynamic #t54 = super.noSu
chMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growa
ble: false), <dynamic>[this, #t53].toList(growable: false), true)) in #t53; | 125 super.m = super.{self::A::m}.+(1); |
129 self::use(let final dynamic #t55 = super.m.+(1) in let final dynamic #t56 =
super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].to
List(growable: false), <dynamic>[this, #t55].toList(growable: false), true)) in
#t55); | 126 self::use(super.m = super.{self::A::m}.+(1)); |
130 super.n = super.n.+(1); | 127 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn
amic>{}, null); |
131 self::use(super.n = super.n.+(1)); | 128 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy
namic, dynamic>{}, null)); |
132 super.{self::A::a}.call(); | 129 super.{self::A::a}.call(); |
133 self::use(super.{self::A::a}.call()); | 130 self::use(super.{self::A::a}.call()); |
134 super.{self::B::b}.call(); | 131 super.{self::B::b}.call(); |
135 self::use(super.{self::B::b}.call()); | 132 self::use(super.{self::B::b}.call()); |
136 super.{self::A::c}.call(); | 133 super.{self::A::c}.call(); |
137 self::use(super.{self::A::c}.call()); | 134 self::use(super.{self::A::c}.call()); |
138 super.{self::B::d}.call(); | 135 super.{self::B::d}.call(); |
139 self::use(super.{self::B::d}.call()); | 136 self::use(super.{self::B::d}.call()); |
140 super.{self::A::e}.call(); | 137 super.{self::A::e}.call(); |
141 self::use(super.{self::A::e}.call()); | 138 self::use(super.{self::A::e}.call()); |
142 super.{self::A::f}.call(); | 139 super.{self::A::f}.call(); |
143 self::use(super.{self::A::f}.call()); | 140 self::use(super.{self::A::f}.call()); |
144 super.noSuchMethod(new core::_InvocationMirror::•("g", <dynamic>[0, 1, 1].to
List(growable: false), <dynamic>[this].toList(growable: false), true)); | 141 super.g.call(); |
145 self::use(super.noSuchMethod(new core::_InvocationMirror::•("g", <dynamic>[0
, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), true))
); | 142 self::use(super.g.call()); |
146 super.{self::A::h}.call(); | 143 super.{self::A::h}.call(); |
147 self::use(super.{self::A::h}.call()); | 144 self::use(super.{self::A::h}.call()); |
148 super.{self::A::i}.call(); | 145 super.{self::A::i}.call(); |
149 self::use(super.{self::A::i}.call()); | 146 self::use(super.{self::A::i}.call()); |
150 super.{self::A::[]}(87).call(); | 147 super.{self::A::[]}(87).call(); |
151 self::use(super.{self::A::[]}(87).call()); | 148 self::use(super.{self::A::[]}(87).call()); |
152 super.m(); | 149 super.{self::A::m}(); |
153 self::use(super.m()); | 150 self::use(super.{self::A::m}()); |
154 super.m(87); | 151 super.{self::A::m}(87); |
155 self::use(super.m(87)); | 152 self::use(super.{self::A::m}(87)); |
156 super.n(87); | 153 throw core::_unresolvedSuperMethodError(this, #n, <dynamic>[87], <dynamic, d
ynamic>{}, null); |
157 self::use(super.n(87)); | 154 self::use(throw core::_unresolvedSuperMethodError(this, #n, <dynamic>[87], <
dynamic, dynamic>{}, null)); |
158 super.a = 42; | 155 super.{self::A::a} = 42; |
159 self::use(super.a = 42); | 156 self::use(super.{self::A::a} = 42); |
160 super.b = 42; | 157 super.{self::A::b} = 42; |
161 self::use(super.b = 42); | 158 self::use(super.{self::A::b} = 42); |
162 super.c = 42; | 159 super.{self::B::c} = 42; |
163 self::use(super.c = 42); | 160 self::use(super.{self::B::c} = 42); |
164 super.d = 42; | 161 super.d = 42; |
165 self::use(super.d = 42); | 162 self::use(super.d = 42); |
166 let final dynamic #t57 = 42 in let final dynamic #t58 = super.noSuchMethod(n
ew core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false
), <dynamic>[this, #t57].toList(growable: false), true)) in #t57; | 163 super.e = 42; |
167 self::use(let final dynamic #t59 = 42 in let final dynamic #t60 = super.noSu
chMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growa
ble: false), <dynamic>[this, #t59].toList(growable: false), true)) in #t59); | 164 self::use(super.e = 42); |
168 let final dynamic #t61 = 42 in let final dynamic #t62 = super.noSuchMethod(n
ew core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false
), <dynamic>[this, #t61].toList(growable: false), true)) in #t61; | 165 super.f = 42; |
169 self::use(let final dynamic #t63 = 42 in let final dynamic #t64 = super.noSu
chMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growa
ble: false), <dynamic>[this, #t63].toList(growable: false), true)) in #t63); | 166 self::use(super.f = 42); |
170 super.g = 42; | 167 super.{self::A::g} = 42; |
171 self::use(super.g = 42); | 168 self::use(super.{self::A::g} = 42); |
172 super.h = 42; | 169 super.{self::A::h} = 42; |
173 self::use(super.h = 42); | 170 self::use(super.{self::A::h} = 42); |
174 super.i = 42; | 171 super.{self::B::i} = 42; |
175 self::use(super.i = 42); | 172 self::use(super.{self::B::i} = 42); |
176 super.[]=(87, 42); | 173 super.{self::A::[]=}(87, 42); |
177 self::use(let final dynamic #t65 = 87 in let final dynamic #t66 = 42 in let
final dynamic #t67 = super.[]=(#t65, #t66) in #t66); | 174 self::use(let final dynamic #t27 = 87 in let final dynamic #t28 = 42 in let
final dynamic #t29 = super.{self::A::[]=}(#t27, #t28) in #t28); |
178 let final dynamic #t68 = 42 in let final dynamic #t69 = super.noSuchMethod(n
ew core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false
), <dynamic>[this, #t68].toList(growable: false), true)) in #t68; | 175 super.m = 42; |
179 self::use(let final dynamic #t70 = 42 in let final dynamic #t71 = super.noSu
chMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growa
ble: false), <dynamic>[this, #t70].toList(growable: false), true)) in #t70); | 176 self::use(super.m = 42); |
180 super.n = 42; | 177 throw core::_unresolvedSuperSetterError(this, #n, <dynamic>[42], <dynamic, d
ynamic>{}, null); |
181 self::use(super.n = 42); | 178 self::use(throw core::_unresolvedSuperSetterError(this, #n, <dynamic>[42], <
dynamic, dynamic>{}, null)); |
182 super.a.==(null) ?{dynamic} super.a = 42 : null; | 179 super.{self::A::a}.==(null) ? super.{self::A::a} = 42 : null; |
183 self::use(let final dynamic #t72 = super.a in #t72.==(null) ?{dynamic} super
.a = 42 : #t72); | 180 self::use(let final dynamic #t30 = super.{self::A::a} in #t30.==(null) ? sup
er.{self::A::a} = 42 : #t30); |
184 super.b.==(null) ?{dynamic} super.b = 42 : null; | 181 super.{self::B::b}.==(null) ? super.{self::A::b} = 42 : null; |
185 self::use(let final dynamic #t73 = super.b in #t73.==(null) ?{dynamic} super
.b = 42 : #t73); | 182 self::use(let final dynamic #t31 = super.{self::B::b} in #t31.==(null) ? sup
er.{self::A::b} = 42 : #t31); |
186 super.c.==(null) ?{dynamic} super.c = 42 : null; | 183 super.{self::A::c}.==(null) ? super.{self::B::c} = 42 : null; |
187 self::use(let final dynamic #t74 = super.c in #t74.==(null) ?{dynamic} super
.c = 42 : #t74); | 184 self::use(let final dynamic #t32 = super.{self::A::c} in #t32.==(null) ? sup
er.{self::B::c} = 42 : #t32); |
188 super.d.==(null) ?{dynamic} super.d = 42 : null; | 185 super.{self::B::d}.==(null) ? super.d = 42 : null; |
189 self::use(let final dynamic #t75 = super.d in #t75.==(null) ?{dynamic} super
.d = 42 : #t75); | 186 self::use(let final dynamic #t33 = super.{self::B::d} in #t33.==(null) ? sup
er.d = 42 : #t33); |
190 super.e.==(null) ?{dynamic} let final dynamic #t76 = 42 in let final dynamic
#t77 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0,
2, 2].toList(growable: false), <dynamic>[this, #t76].toList(growable: false), tr
ue)) in #t76 : null; | 187 super.{self::A::e}.==(null) ? super.e = 42 : null; |
191 self::use(let final dynamic #t78 = super.e in #t78.==(null) ?{dynamic} let f
inal dynamic #t79 = 42 in let final dynamic #t80 = super.noSuchMethod(new core::
_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false), <dynam
ic>[this, #t79].toList(growable: false), true)) in #t79 : #t78); | 188 self::use(let final dynamic #t34 = super.{self::A::e} in #t34.==(null) ? sup
er.e = 42 : #t34); |
192 super.f.==(null) ?{dynamic} let final dynamic #t81 = 42 in let final dynamic
#t82 = super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0,
2, 2].toList(growable: false), <dynamic>[this, #t81].toList(growable: false), tr
ue)) in #t81 : null; | 189 super.{self::A::f}.==(null) ? super.f = 42 : null; |
193 self::use(let final dynamic #t83 = super.f in #t83.==(null) ?{dynamic} let f
inal dynamic #t84 = 42 in let final dynamic #t85 = super.noSuchMethod(new core::
_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false), <dynam
ic>[this, #t84].toList(growable: false), true)) in #t84 : #t83); | 190 self::use(let final dynamic #t35 = super.{self::A::f} in #t35.==(null) ? sup
er.f = 42 : #t35); |
194 super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynamic>[0, 1, 1
].toList(growable: false), <dynamic>[this].toList(growable: false), true)).==(nu
ll) ?{dynamic} super.g = 42 : null; | 191 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn
amic>{}, null); |
195 self::use(let final dynamic #t86 = super.noSuchMethod(new core::_InvocationM
irror::•("get:g", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].to
List(growable: false), true)) in #t86.==(null) ?{dynamic} super.g = 42 : #t86); | 192 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy
namic, dynamic>{}, null)); |
196 super.h.==(null) ?{dynamic} super.h = 42 : null; | 193 super.{self::A::h}.==(null) ? super.{self::A::h} = 42 : null; |
197 self::use(let final dynamic #t87 = super.h in #t87.==(null) ?{dynamic} super
.h = 42 : #t87); | 194 self::use(let final dynamic #t36 = super.{self::A::h} in #t36.==(null) ? sup
er.{self::A::h} = 42 : #t36); |
198 super.i.==(null) ?{dynamic} super.i = 42 : null; | 195 super.{self::A::i}.==(null) ? super.{self::B::i} = 42 : null; |
199 self::use(let final dynamic #t88 = super.i in #t88.==(null) ?{dynamic} super
.i = 42 : #t88); | 196 self::use(let final dynamic #t37 = super.{self::A::i} in #t37.==(null) ? sup
er.{self::B::i} = 42 : #t37); |
200 let final dynamic #t89 = 87 in super.[](#t89).==(null) ?{dynamic} let final
dynamic #t90 = 42 in let final dynamic #t91 = super.[]=(#t89, #t90) in #t90 : nu
ll; | 197 let final dynamic #t38 = 87 in super.{self::A::[]}(#t38).==(null) ? super.{s
elf::A::[]=}(#t38, 42) : null; |
201 self::use(let final dynamic #t92 = 87 in let final dynamic #t93 = super.[](#
t92) in #t93.==(null) ?{dynamic} let final dynamic #t94 = 42 in let final dynami
c #t95 = super.[]=(#t92, #t94) in #t94 : #t93); | 198 self::use(let final dynamic #t39 = 87 in let final dynamic #t40 = super.{sel
f::A::[]}(#t39) in #t40.==(null) ? let final dynamic #t41 = 42 in let final dyna
mic #t42 = super.{self::A::[]=}(#t39, #t41) in #t41 : #t40); |
202 super.m.==(null) ?{dynamic} let final dynamic #t96 = 42 in let final dynamic
#t97 = super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0,
2, 2].toList(growable: false), <dynamic>[this, #t96].toList(growable: false), tr
ue)) in #t96 : null; | 199 super.{self::A::m}.==(null) ? super.m = 42 : null; |
203 self::use(let final dynamic #t98 = super.m in #t98.==(null) ?{dynamic} let f
inal dynamic #t99 = 42 in let final dynamic #t100 = super.noSuchMethod(new core:
:_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false), <dyna
mic>[this, #t99].toList(growable: false), true)) in #t99 : #t98); | 200 self::use(let final dynamic #t43 = super.{self::A::m} in #t43.==(null) ? sup
er.m = 42 : #t43); |
204 super.n.==(null) ?{dynamic} super.n = 42 : null; | 201 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn
amic>{}, null); |
205 self::use(let final dynamic #t101 = super.n in #t101.==(null) ?{dynamic} sup
er.n = 42 : #t101); | 202 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy
namic, dynamic>{}, null)); |
206 super.a = super.a.+(42); | 203 super.{self::A::a} = super.{self::A::a}.+(42); |
207 self::use(super.a = super.a.+(42)); | 204 self::use(super.{self::A::a} = super.{self::A::a}.+(42)); |
208 super.b = super.b.+(42); | 205 super.{self::A::b} = super.{self::B::b}.+(42); |
209 self::use(super.b = super.b.+(42)); | 206 self::use(super.{self::A::b} = super.{self::B::b}.+(42)); |
210 super.c = super.c.+(42); | 207 super.{self::B::c} = super.{self::A::c}.+(42); |
211 self::use(super.c = super.c.+(42)); | 208 self::use(super.{self::B::c} = super.{self::A::c}.+(42)); |
212 super.d = super.d.+(42); | 209 super.d = super.{self::B::d}.+(42); |
213 self::use(super.d = super.d.+(42)); | 210 self::use(super.d = super.{self::B::d}.+(42)); |
214 let final dynamic #t102 = super.e.+(42) in let final dynamic #t103 = super.n
oSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(gr
owable: false), <dynamic>[this, #t102].toList(growable: false), true)) in #t102; | 211 super.e = super.{self::A::e}.+(42); |
215 self::use(let final dynamic #t104 = super.e.+(42) in let final dynamic #t105
= super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2]
.toList(growable: false), <dynamic>[this, #t104].toList(growable: false), true))
in #t104); | 212 self::use(super.e = super.{self::A::e}.+(42)); |
216 let final dynamic #t106 = super.f.+(42) in let final dynamic #t107 = super.n
oSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(gr
owable: false), <dynamic>[this, #t106].toList(growable: false), true)) in #t106; | 213 super.f = super.{self::A::f}.+(42); |
217 self::use(let final dynamic #t108 = super.f.+(42) in let final dynamic #t109
= super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2]
.toList(growable: false), <dynamic>[this, #t108].toList(growable: false), true))
in #t108); | 214 self::use(super.f = super.{self::A::f}.+(42)); |
218 super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami
c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr
ue)).+(42); | 215 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn
amic>{}, null); |
219 self::use(super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g
", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable:
false), true)).+(42)); | 216 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy
namic, dynamic>{}, null)); |
220 super.h = super.h.+(42); | 217 super.{self::A::h} = super.{self::A::h}.+(42); |
221 self::use(super.h = super.h.+(42)); | 218 self::use(super.{self::A::h} = super.{self::A::h}.+(42)); |
222 super.i = super.i.+(42); | 219 super.{self::B::i} = super.{self::A::i}.+(42); |
223 self::use(super.i = super.i.+(42)); | 220 self::use(super.{self::B::i} = super.{self::A::i}.+(42)); |
224 let final dynamic #t110 = 87 in super.[]=(#t110, super.[](#t110).+(42)); | 221 let final dynamic #t44 = 87 in super.{self::A::[]=}(#t44, super.{self::A::[]
}(#t44).+(42)); |
225 self::use(let final dynamic #t111 = 87 in let final dynamic #t112 = super.[]
(#t111).+(42) in let final dynamic #t113 = super.[]=(#t111, #t112) in #t112); | 222 self::use(let final dynamic #t45 = 87 in let final dynamic #t46 = super.{sel
f::A::[]}(#t45).+(42) in let final dynamic #t47 = super.{self::A::[]=}(#t45, #t4
6) in #t46); |
226 let final dynamic #t114 = super.m.+(42) in let final dynamic #t115 = super.n
oSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(gr
owable: false), <dynamic>[this, #t114].toList(growable: false), true)) in #t114; | 223 super.m = super.{self::A::m}.+(42); |
227 self::use(let final dynamic #t116 = super.m.+(42) in let final dynamic #t117
= super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2]
.toList(growable: false), <dynamic>[this, #t116].toList(growable: false), true))
in #t116); | 224 self::use(super.m = super.{self::A::m}.+(42)); |
228 super.n = super.n.+(42); | 225 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn
amic>{}, null); |
229 self::use(super.n = super.n.+(42)); | 226 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy
namic, dynamic>{}, null)); |
230 super.a = super.a.-(42); | 227 super.{self::A::a} = super.{self::A::a}.-(42); |
231 self::use(super.a = super.a.-(42)); | 228 self::use(super.{self::A::a} = super.{self::A::a}.-(42)); |
232 super.b = super.b.-(42); | 229 super.{self::A::b} = super.{self::B::b}.-(42); |
233 self::use(super.b = super.b.-(42)); | 230 self::use(super.{self::A::b} = super.{self::B::b}.-(42)); |
234 super.c = super.c.-(42); | 231 super.{self::B::c} = super.{self::A::c}.-(42); |
235 self::use(super.c = super.c.-(42)); | 232 self::use(super.{self::B::c} = super.{self::A::c}.-(42)); |
236 super.d = super.d.-(42); | 233 super.d = super.{self::B::d}.-(42); |
237 self::use(super.d = super.d.-(42)); | 234 self::use(super.d = super.{self::B::d}.-(42)); |
238 let final dynamic #t118 = super.e.-(42) in let final dynamic #t119 = super.n
oSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(gr
owable: false), <dynamic>[this, #t118].toList(growable: false), true)) in #t118; | 235 super.e = super.{self::A::e}.-(42); |
239 self::use(let final dynamic #t120 = super.e.-(42) in let final dynamic #t121
= super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2]
.toList(growable: false), <dynamic>[this, #t120].toList(growable: false), true))
in #t120); | 236 self::use(super.e = super.{self::A::e}.-(42)); |
240 let final dynamic #t122 = super.f.-(42) in let final dynamic #t123 = super.n
oSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(gr
owable: false), <dynamic>[this, #t122].toList(growable: false), true)) in #t122; | 237 super.f = super.{self::A::f}.-(42); |
241 self::use(let final dynamic #t124 = super.f.-(42) in let final dynamic #t125
= super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2]
.toList(growable: false), <dynamic>[this, #t124].toList(growable: false), true))
in #t124); | 238 self::use(super.f = super.{self::A::f}.-(42)); |
242 super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami
c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr
ue)).-(42); | 239 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn
amic>{}, null); |
243 self::use(super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g
", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable:
false), true)).-(42)); | 240 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy
namic, dynamic>{}, null)); |
244 super.h = super.h.-(42); | 241 super.{self::A::h} = super.{self::A::h}.-(42); |
245 self::use(super.h = super.h.-(42)); | 242 self::use(super.{self::A::h} = super.{self::A::h}.-(42)); |
246 super.i = super.i.-(42); | 243 super.{self::B::i} = super.{self::A::i}.-(42); |
247 self::use(super.i = super.i.-(42)); | 244 self::use(super.{self::B::i} = super.{self::A::i}.-(42)); |
248 let final dynamic #t126 = 87 in super.[]=(#t126, super.[](#t126).-(42)); | 245 let final dynamic #t48 = 87 in super.{self::A::[]=}(#t48, super.{self::A::[]
}(#t48).-(42)); |
249 self::use(let final dynamic #t127 = 87 in let final dynamic #t128 = super.[]
(#t127).-(42) in let final dynamic #t129 = super.[]=(#t127, #t128) in #t128); | 246 self::use(let final dynamic #t49 = 87 in let final dynamic #t50 = super.{sel
f::A::[]}(#t49).-(42) in let final dynamic #t51 = super.{self::A::[]=}(#t49, #t5
0) in #t50); |
250 let final dynamic #t130 = super.m.-(42) in let final dynamic #t131 = super.n
oSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(gr
owable: false), <dynamic>[this, #t130].toList(growable: false), true)) in #t130; | 247 super.m = super.{self::A::m}.-(42); |
251 self::use(let final dynamic #t132 = super.m.-(42) in let final dynamic #t133
= super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2]
.toList(growable: false), <dynamic>[this, #t132].toList(growable: false), true))
in #t132); | 248 self::use(super.m = super.{self::A::m}.-(42)); |
252 super.n = super.n.-(42); | 249 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn
amic>{}, null); |
253 self::use(super.n = super.n.-(42)); | 250 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy
namic, dynamic>{}, null)); |
254 } | 251 } |
255 } | 252 } |
256 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/rasta/sup
er.dart:43:5: Error: '+' is not a prefix operator. \n +super;\n ^", "pkg/f
ront_end/testcases/rasta/super.dart:44:9: Error: '+' is not a prefix operator. \
n use(+super);\n ^"]/* from null */; | |
257 static method use(dynamic x) → dynamic { | 253 static method use(dynamic x) → dynamic { |
258 if(x.==(new core::DateTime::now().millisecondsSinceEpoch)) | 254 if(x.==(new core::DateTime::now().millisecondsSinceEpoch)) |
259 throw "Shouldn't happen"; | 255 throw "Shouldn't happen"; |
260 } | 256 } |
261 static method main() → dynamic { | 257 static method main() → dynamic { |
262 new self::C::•().test(); | 258 new self::C::•().test(); |
263 } | 259 } |
OLD | NEW |