Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.strong.expect

Issue 2935783003: Add type inference for assignments to `super[...]` (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 abstract class Base<T extends core::Object, U extends core::Object> extends core ::Object {
6 constructor •() → void
7 : super core::Object::•()
8 ;
9 abstract operator [](core::String s) → self::Base::T;
10 abstract operator []=(core::String s, self::Base::U v) → void;
11 }
12 abstract class Test1 extends self::Base<core::int, core::int> {
13 constructor •() → void
14 : super self::Base::•()
15 ;
16 method test() → void {
17 core::int v1 = let final dynamic #t1 = "x" in let final dynamic #t2 = self:: getInt() in let final dynamic #t3 = this.{=core::Object::noSuchMethod}(new core: :_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynami c>[this, #t1, #t2].toList(growable: false), true)) in #t2;
18 core::num v2 = let final dynamic #t4 = "x" in let final dynamic #t5 = self:: getNum() in let final dynamic #t6 = this.{=core::Object::noSuchMethod}(new core: :_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynami c>[this, #t4, #t5].toList(growable: false), true)) in #t5;
19 core::int v4 = let final dynamic #t7 = "x" in let final dynamic #t8 = this.{ =core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2 , 2].toList(growable: false), <dynamic>[this, #t7].toList(growable: false), true )) in #t8.{core::num::==}(null) ? let final dynamic #t9 = self::getInt() in let final dynamic #t10 = this.{=core::Object::noSuchMethod}(new core::_InvocationMir ror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t7, # t9].toList(growable: false), true)) in #t9 : #t8;
20 core::num v5 = let final dynamic #t11 = "x" in let final dynamic #t12 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t11].toList(growable: false), t rue)) in #t12.{core::num::==}(null) ? let final dynamic #t13 = self::getNum() in let final dynamic #t14 = this.{=core::Object::noSuchMethod}(new core::_Invocati onMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, # t11, #t13].toList(growable: false), true)) in #t13 : #t12;
21 core::int v7 = let final dynamic #t15 = "x" in let final dynamic #t16 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t15].toList(growable: false), t rue)).{core::num::+}(self::getInt()) in let final dynamic #t17 = this.{=core::Ob ject::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toL ist(growable: false), <dynamic>[this, #t15, #t16].toList(growable: false), true) ) in #t16;
22 core::num v8 = let final dynamic #t18 = "x" in let final dynamic #t19 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t18].toList(growable: false), t rue)).{core::num::+}(self::getNum()) in let final dynamic #t20 = this.{=core::Ob ject::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toL ist(growable: false), <dynamic>[this, #t18, #t19].toList(growable: false), true) ) in #t19;
23 core::int v10 = let final dynamic #t21 = "x" in let final dynamic #t22 = thi s.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0 , 2, 2].toList(growable: false), <dynamic>[this, #t21].toList(growable: false), true)).{core::num::+}(1) in let final dynamic #t23 = this.{=core::Object::noSuch Method}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable : false), <dynamic>[this, #t21, #t22].toList(growable: false), true)) in #t22;
24 core::int v11 = let final dynamic #t24 = "x" in let final dynamic #t25 = thi s.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0 , 2, 2].toList(growable: false), <dynamic>[this, #t24].toList(growable: false), true)) in let final dynamic #t26 = this.{=core::Object::noSuchMethod}(new core:: _InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic >[this, #t24, #t25.{core::num::+}(1)].toList(growable: false), true)) in #t25;
25 }
26 }
27 abstract class Test2 extends self::Base<core::int, core::num> {
28 constructor •() → void
29 : super self::Base::•()
30 ;
31 method test() → void {
32 core::int v1 = let final dynamic #t27 = "x" in let final dynamic #t28 = self ::getInt() in let final dynamic #t29 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t27, #t28].toList(growable: false), true)) in #t28;
33 core::num v2 = let final dynamic #t30 = "x" in let final dynamic #t31 = self ::getNum() in let final dynamic #t32 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t30, #t31].toList(growable: false), true)) in #t31;
34 core::double v3 = let final dynamic #t33 = "x" in let final dynamic #t34 = s elf::getDouble() in let final dynamic #t35 = this.{=core::Object::noSuchMethod}( new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false) , <dynamic>[this, #t33, #t34].toList(growable: false), true)) in #t34;
35 core::num v4 = let final dynamic #t36 = "x" in let final dynamic #t37 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t36].toList(growable: false), t rue)) in #t37.{core::num::==}(null) ? let final dynamic #t38 = self::getInt() in let final dynamic #t39 = this.{=core::Object::noSuchMethod}(new core::_Invocati onMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, # t36, #t38].toList(growable: false), true)) in #t38 : #t37;
36 core::num v5 = let final dynamic #t40 = "x" in let final dynamic #t41 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t40].toList(growable: false), t rue)) in #t41.{core::num::==}(null) ? let final dynamic #t42 = self::getNum() in let final dynamic #t43 = this.{=core::Object::noSuchMethod}(new core::_Invocati onMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, # t40, #t42].toList(growable: false), true)) in #t42 : #t41;
37 core::num v6 = let final dynamic #t44 = "x" in let final dynamic #t45 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t44].toList(growable: false), t rue)) in #t45.{core::num::==}(null) ? let final dynamic #t46 = self::getDouble() in let final dynamic #t47 = this.{=core::Object::noSuchMethod}(new core::_Invoc ationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this , #t44, #t46].toList(growable: false), true)) in #t46 : #t45;
38 core::num v7 = let final dynamic #t48 = "x" in let final dynamic #t49 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t48].toList(growable: false), t rue)).{core::num::+}(self::getInt()) in let final dynamic #t50 = this.{=core::Ob ject::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toL ist(growable: false), <dynamic>[this, #t48, #t49].toList(growable: false), true) ) in #t49;
39 core::num v8 = let final dynamic #t51 = "x" in let final dynamic #t52 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t51].toList(growable: false), t rue)).{core::num::+}(self::getNum()) in let final dynamic #t53 = this.{=core::Ob ject::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toL ist(growable: false), <dynamic>[this, #t51, #t52].toList(growable: false), true) ) in #t52;
40 core::num v9 = let final dynamic #t54 = "x" in let final dynamic #t55 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t54].toList(growable: false), t rue)).{core::num::+}(self::getDouble()) in let final dynamic #t56 = this.{=core: :Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3]. toList(growable: false), <dynamic>[this, #t54, #t55].toList(growable: false), tr ue)) in #t55;
41 core::num v10 = let final dynamic #t57 = "x" in let final dynamic #t58 = thi s.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0 , 2, 2].toList(growable: false), <dynamic>[this, #t57].toList(growable: false), true)).{core::num::+}(1) in let final dynamic #t59 = this.{=core::Object::noSuch Method}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable : false), <dynamic>[this, #t57, #t58].toList(growable: false), true)) in #t58;
42 core::num v11 = let final dynamic #t60 = "x" in let final dynamic #t61 = thi s.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0 , 2, 2].toList(growable: false), <dynamic>[this, #t60].toList(growable: false), true)) in let final dynamic #t62 = this.{=core::Object::noSuchMethod}(new core:: _InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic >[this, #t60, #t61.{core::num::+}(1)].toList(growable: false), true)) in #t61;
43 }
44 }
45 abstract class Test3 extends self::Base<core::int, core::double> {
46 constructor •() → void
47 : super self::Base::•()
48 ;
49 method test() → void {
50 core::num v2 = let final dynamic #t63 = "x" in let final dynamic #t64 = self ::getNum() in let final dynamic #t65 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t63, #t64].toList(growable: false), true)) in #t64;
51 core::double v3 = let final dynamic #t66 = "x" in let final dynamic #t67 = s elf::getDouble() in let final dynamic #t68 = this.{=core::Object::noSuchMethod}( new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false) , <dynamic>[this, #t66, #t67].toList(growable: false), true)) in #t67;
52 core::num v5 = let final dynamic #t69 = "x" in let final dynamic #t70 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t69].toList(growable: false), t rue)) in #t70.{core::num::==}(null) ? let final dynamic #t71 = self::getNum() in let final dynamic #t72 = this.{=core::Object::noSuchMethod}(new core::_Invocati onMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, # t69, #t71].toList(growable: false), true)) in #t71 : #t70;
53 core::double v6 = let final dynamic #t73 = "x" in let final dynamic #t74 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t73].toList(growable: false) , true)) in #t74.{core::num::==}(null) ? let final dynamic #t75 = self::getDoubl e() in let final dynamic #t76 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t73, #t75].toList(growable: false), true)) in #t75 : #t74;
54 core::double v7 = let final dynamic #t77 = "x" in let final dynamic #t78 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t77].toList(growable: false) , true)).{core::double::+}(self::getInt()) in let final dynamic #t79 = this.{=co re::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t77, #t78].toList(growable: false), true)) in #t78;
55 core::double v8 = let final dynamic #t80 = "x" in let final dynamic #t81 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t80].toList(growable: false) , true)).{core::double::+}(self::getNum()) in let final dynamic #t82 = this.{=co re::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t80, #t81].toList(growable: false), true)) in #t81;
56 core::double v9 = let final dynamic #t83 = "x" in let final dynamic #t84 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t83].toList(growable: false) , true)).{core::double::+}(self::getDouble()) in let final dynamic #t85 = this.{ =core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t83, #t84].toList(growable: fals e), true)) in #t84;
57 core::double v10 = let final dynamic #t86 = "x" in let final dynamic #t87 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic >[0, 2, 2].toList(growable: false), <dynamic>[this, #t86].toList(growable: false ), true)).{core::double::+}(1) in let final dynamic #t88 = this.{=core::Object:: noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(gr owable: false), <dynamic>[this, #t86, #t87].toList(growable: false), true)) in # t87;
58 core::double v11 = let final dynamic #t89 = "x" in let final dynamic #t90 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic >[0, 2, 2].toList(growable: false), <dynamic>[this, #t89].toList(growable: false ), true)) in let final dynamic #t91 = this.{=core::Object::noSuchMethod}(new cor e::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyna mic>[this, #t89, #t90.{core::double::+}(1)].toList(growable: false), true)) in # t90;
59 }
60 }
61 abstract class Test4 extends self::Base<core::num, core::int> {
62 constructor •() → void
63 : super self::Base::•()
64 ;
65 method test() → void {
66 core::int v1 = let final dynamic #t92 = "x" in let final dynamic #t93 = self ::getInt() in let final dynamic #t94 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t92, #t93].toList(growable: false), true)) in #t93;
67 core::num v2 = let final dynamic #t95 = "x" in let final dynamic #t96 = self ::getNum() in let final dynamic #t97 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t95, #t96].toList(growable: false), true)) in #t96;
68 core::int v4 = let final dynamic #t98 = "x" in let final dynamic #t99 = this .{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t98].toList(growable: false), t rue)) in #t99.{core::num::==}(null) ? let final dynamic #t100 = self::getInt() i n let final dynamic #t101 = this.{=core::Object::noSuchMethod}(new core::_Invoca tionMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t98, #t100].toList(growable: false), true)) in #t100 : #t99;
69 core::num v5 = let final dynamic #t102 = "x" in let final dynamic #t103 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t102].toList(growable: false) , true)) in #t103.{core::num::==}(null) ? let final dynamic #t104 = self::getNum () in let final dynamic #t105 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t102, #t104].toList(growable: false), true)) in #t104 : #t103;
70 core::int v7 = let final dynamic #t106 = "x" in let final dynamic #t107 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t106].toList(growable: false) , true)).{core::num::+}(self::getInt()) in let final dynamic #t108 = this.{=core ::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3] .toList(growable: false), <dynamic>[this, #t106, #t107].toList(growable: false), true)) in #t107;
71 core::num v8 = let final dynamic #t109 = "x" in let final dynamic #t110 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t109].toList(growable: false) , true)).{core::num::+}(self::getNum()) in let final dynamic #t111 = this.{=core ::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3] .toList(growable: false), <dynamic>[this, #t109, #t110].toList(growable: false), true)) in #t110;
72 core::int v10 = let final dynamic #t112 = "x" in let final dynamic #t113 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t112].toList(growable: false ), true)).{core::num::+}(1) in let final dynamic #t114 = this.{=core::Object::no SuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(grow able: false), <dynamic>[this, #t112, #t113].toList(growable: false), true)) in # t113;
73 core::int v11 = let final dynamic #t115 = "x" in let final dynamic #t116 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t115].toList(growable: false ), true)) in let final dynamic #t117 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t115, #t116.{core::num::+}(1)].toList(growable: false), true)) in # t116;
74 }
75 }
76 abstract class Test5 extends self::Base<core::num, core::num> {
77 constructor •() → void
78 : super self::Base::•()
79 ;
80 method test() → void {
81 core::int v1 = let final dynamic #t118 = "x" in let final dynamic #t119 = se lf::getInt() in let final dynamic #t120 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t118, #t119].toList(growable: false), true)) in #t119;
82 core::num v2 = let final dynamic #t121 = "x" in let final dynamic #t122 = se lf::getNum() in let final dynamic #t123 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t121, #t122].toList(growable: false), true)) in #t122;
83 core::double v3 = let final dynamic #t124 = "x" in let final dynamic #t125 = self::getDouble() in let final dynamic #t126 = this.{=core::Object::noSuchMetho d}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: fal se), <dynamic>[this, #t124, #t125].toList(growable: false), true)) in #t125;
84 core::num v4 = let final dynamic #t127 = "x" in let final dynamic #t128 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t127].toList(growable: false) , true)) in #t128.{core::num::==}(null) ? let final dynamic #t129 = self::getInt () in let final dynamic #t130 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t127, #t129].toList(growable: false), true)) in #t129 : #t128;
85 core::num v5 = let final dynamic #t131 = "x" in let final dynamic #t132 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t131].toList(growable: false) , true)) in #t132.{core::num::==}(null) ? let final dynamic #t133 = self::getNum () in let final dynamic #t134 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t131, #t133].toList(growable: false), true)) in #t133 : #t132;
86 core::num v6 = let final dynamic #t135 = "x" in let final dynamic #t136 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t135].toList(growable: false) , true)) in #t136.{core::num::==}(null) ? let final dynamic #t137 = self::getDou ble() in let final dynamic #t138 = this.{=core::Object::noSuchMethod}(new core:: _InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic >[this, #t135, #t137].toList(growable: false), true)) in #t137 : #t136;
87 core::num v7 = let final dynamic #t139 = "x" in let final dynamic #t140 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t139].toList(growable: false) , true)).{core::num::+}(self::getInt()) in let final dynamic #t141 = this.{=core ::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3] .toList(growable: false), <dynamic>[this, #t139, #t140].toList(growable: false), true)) in #t140;
88 core::num v8 = let final dynamic #t142 = "x" in let final dynamic #t143 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t142].toList(growable: false) , true)).{core::num::+}(self::getNum()) in let final dynamic #t144 = this.{=core ::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3] .toList(growable: false), <dynamic>[this, #t142, #t143].toList(growable: false), true)) in #t143;
89 core::num v9 = let final dynamic #t145 = "x" in let final dynamic #t146 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t145].toList(growable: false) , true)).{core::num::+}(self::getDouble()) in let final dynamic #t147 = this.{=c ore::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t145, #t146].toList(growable: fals e), true)) in #t146;
90 core::num v10 = let final dynamic #t148 = "x" in let final dynamic #t149 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t148].toList(growable: false ), true)).{core::num::+}(1) in let final dynamic #t150 = this.{=core::Object::no SuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(grow able: false), <dynamic>[this, #t148, #t149].toList(growable: false), true)) in # t149;
91 core::num v11 = let final dynamic #t151 = "x" in let final dynamic #t152 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t151].toList(growable: false ), true)) in let final dynamic #t153 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t151, #t152.{core::num::+}(1)].toList(growable: false), true)) in # t152;
92 }
93 }
94 abstract class Test6 extends self::Base<core::num, core::double> {
95 constructor •() → void
96 : super self::Base::•()
97 ;
98 method test() → void {
99 core::num v2 = let final dynamic #t154 = "x" in let final dynamic #t155 = se lf::getNum() in let final dynamic #t156 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t154, #t155].toList(growable: false), true)) in #t155;
100 core::double v3 = let final dynamic #t157 = "x" in let final dynamic #t158 = self::getDouble() in let final dynamic #t159 = this.{=core::Object::noSuchMetho d}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: fal se), <dynamic>[this, #t157, #t158].toList(growable: false), true)) in #t158;
101 core::num v5 = let final dynamic #t160 = "x" in let final dynamic #t161 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t160].toList(growable: false) , true)) in #t161.{core::num::==}(null) ? let final dynamic #t162 = self::getNum () in let final dynamic #t163 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t160, #t162].toList(growable: false), true)) in #t162 : #t161;
102 core::double v6 = let final dynamic #t164 = "x" in let final dynamic #t165 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynami c>[0, 2, 2].toList(growable: false), <dynamic>[this, #t164].toList(growable: fal se), true)) in #t165.{core::num::==}(null) ? let final dynamic #t166 = self::get Double() in let final dynamic #t167 = this.{=core::Object::noSuchMethod}(new cor e::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyna mic>[this, #t164, #t166].toList(growable: false), true)) in #t166 : #t165;
103 core::double v7 = let final dynamic #t168 = "x" in let final dynamic #t169 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynami c>[0, 2, 2].toList(growable: false), <dynamic>[this, #t168].toList(growable: fal se), true)).{core::double::+}(self::getInt()) in let final dynamic #t170 = this. {=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t168, #t169].toList(growable: f alse), true)) in #t169;
104 core::double v8 = let final dynamic #t171 = "x" in let final dynamic #t172 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynami c>[0, 2, 2].toList(growable: false), <dynamic>[this, #t171].toList(growable: fal se), true)).{core::double::+}(self::getNum()) in let final dynamic #t173 = this. {=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t171, #t172].toList(growable: f alse), true)) in #t172;
105 core::double v9 = let final dynamic #t174 = "x" in let final dynamic #t175 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynami c>[0, 2, 2].toList(growable: false), <dynamic>[this, #t174].toList(growable: fal se), true)).{core::double::+}(self::getDouble()) in let final dynamic #t176 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic> [0, 3, 3].toList(growable: false), <dynamic>[this, #t174, #t175].toList(growable : false), true)) in #t175;
106 core::double v10 = let final dynamic #t177 = "x" in let final dynamic #t178 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynam ic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t177].toList(growable: fa lse), true)).{core::double::+}(1) in let final dynamic #t179 = this.{=core::Obje ct::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toLis t(growable: false), <dynamic>[this, #t177, #t178].toList(growable: false), true) ) in #t178;
107 core::double v11 = let final dynamic #t180 = "x" in let final dynamic #t181 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynam ic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t180].toList(growable: fa lse), true)) in let final dynamic #t182 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t180, #t181.{core::double::+}(1)].toList(growable: false), true) ) in #t181;
108 }
109 }
110 abstract class Test7 extends self::Base<core::double, core::int> {
111 constructor •() → void
112 : super self::Base::•()
113 ;
114 method test() → void {
115 core::int v1 = let final dynamic #t183 = "x" in let final dynamic #t184 = se lf::getInt() in let final dynamic #t185 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t183, #t184].toList(growable: false), true)) in #t184;
116 core::num v2 = let final dynamic #t186 = "x" in let final dynamic #t187 = se lf::getNum() in let final dynamic #t188 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t186, #t187].toList(growable: false), true)) in #t187;
117 core::int v4 = let final dynamic #t189 = "x" in let final dynamic #t190 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t189].toList(growable: false) , true)) in #t190.{core::num::==}(null) ? let final dynamic #t191 = self::getInt () in let final dynamic #t192 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t189, #t191].toList(growable: false), true)) in #t191 : #t190;
118 core::num v5 = let final dynamic #t193 = "x" in let final dynamic #t194 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t193].toList(growable: false) , true)) in #t194.{core::num::==}(null) ? let final dynamic #t195 = self::getNum () in let final dynamic #t196 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t193, #t195].toList(growable: false), true)) in #t195 : #t194;
119 core::int v7 = let final dynamic #t197 = "x" in let final dynamic #t198 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t197].toList(growable: false) , true)).{core::num::+}(self::getInt()) in let final dynamic #t199 = this.{=core ::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3] .toList(growable: false), <dynamic>[this, #t197, #t198].toList(growable: false), true)) in #t198;
120 core::num v8 = let final dynamic #t200 = "x" in let final dynamic #t201 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t200].toList(growable: false) , true)).{core::num::+}(self::getNum()) in let final dynamic #t202 = this.{=core ::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3] .toList(growable: false), <dynamic>[this, #t200, #t201].toList(growable: false), true)) in #t201;
121 core::int v10 = let final dynamic #t203 = "x" in let final dynamic #t204 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t203].toList(growable: false ), true)).{core::num::+}(1) in let final dynamic #t205 = this.{=core::Object::no SuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(grow able: false), <dynamic>[this, #t203, #t204].toList(growable: false), true)) in # t204;
122 core::int v11 = let final dynamic #t206 = "x" in let final dynamic #t207 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t206].toList(growable: false ), true)) in let final dynamic #t208 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t206, #t207.{core::num::+}(1)].toList(growable: false), true)) in # t207;
123 }
124 }
125 abstract class Test8 extends self::Base<core::double, core::num> {
126 constructor •() → void
127 : super self::Base::•()
128 ;
129 method test() → void {
130 core::int v1 = let final dynamic #t209 = "x" in let final dynamic #t210 = se lf::getInt() in let final dynamic #t211 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t209, #t210].toList(growable: false), true)) in #t210;
131 core::num v2 = let final dynamic #t212 = "x" in let final dynamic #t213 = se lf::getNum() in let final dynamic #t214 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t212, #t213].toList(growable: false), true)) in #t213;
132 core::double v3 = let final dynamic #t215 = "x" in let final dynamic #t216 = self::getDouble() in let final dynamic #t217 = this.{=core::Object::noSuchMetho d}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: fal se), <dynamic>[this, #t215, #t216].toList(growable: false), true)) in #t216;
133 core::num v4 = let final dynamic #t218 = "x" in let final dynamic #t219 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t218].toList(growable: false) , true)) in #t219.{core::num::==}(null) ? let final dynamic #t220 = self::getInt () in let final dynamic #t221 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t218, #t220].toList(growable: false), true)) in #t220 : #t219;
134 core::num v5 = let final dynamic #t222 = "x" in let final dynamic #t223 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t222].toList(growable: false) , true)) in #t223.{core::num::==}(null) ? let final dynamic #t224 = self::getNum () in let final dynamic #t225 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t222, #t224].toList(growable: false), true)) in #t224 : #t223;
135 core::num v6 = let final dynamic #t226 = "x" in let final dynamic #t227 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t226].toList(growable: false) , true)) in #t227.{core::num::==}(null) ? let final dynamic #t228 = self::getDou ble() in let final dynamic #t229 = this.{=core::Object::noSuchMethod}(new core:: _InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic >[this, #t226, #t228].toList(growable: false), true)) in #t228 : #t227;
136 core::num v7 = let final dynamic #t230 = "x" in let final dynamic #t231 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t230].toList(growable: false) , true)).{core::num::+}(self::getInt()) in let final dynamic #t232 = this.{=core ::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3] .toList(growable: false), <dynamic>[this, #t230, #t231].toList(growable: false), true)) in #t231;
137 core::num v8 = let final dynamic #t233 = "x" in let final dynamic #t234 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t233].toList(growable: false) , true)).{core::num::+}(self::getNum()) in let final dynamic #t235 = this.{=core ::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3] .toList(growable: false), <dynamic>[this, #t233, #t234].toList(growable: false), true)) in #t234;
138 core::num v9 = let final dynamic #t236 = "x" in let final dynamic #t237 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t236].toList(growable: false) , true)).{core::num::+}(self::getDouble()) in let final dynamic #t238 = this.{=c ore::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t236, #t237].toList(growable: fals e), true)) in #t237;
139 core::num v10 = let final dynamic #t239 = "x" in let final dynamic #t240 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t239].toList(growable: false ), true)).{core::num::+}(1) in let final dynamic #t241 = this.{=core::Object::no SuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(grow able: false), <dynamic>[this, #t239, #t240].toList(growable: false), true)) in # t240;
140 core::num v11 = let final dynamic #t242 = "x" in let final dynamic #t243 = t his.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic> [0, 2, 2].toList(growable: false), <dynamic>[this, #t242].toList(growable: false ), true)) in let final dynamic #t244 = this.{=core::Object::noSuchMethod}(new co re::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyn amic>[this, #t242, #t243.{core::num::+}(1)].toList(growable: false), true)) in # t243;
141 }
142 }
143 abstract class Test9 extends self::Base<core::double, core::double> {
144 constructor •() → void
145 : super self::Base::•()
146 ;
147 method test() → void {
148 core::num v2 = let final dynamic #t245 = "x" in let final dynamic #t246 = se lf::getNum() in let final dynamic #t247 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t245, #t246].toList(growable: false), true)) in #t246;
149 core::double v3 = let final dynamic #t248 = "x" in let final dynamic #t249 = self::getDouble() in let final dynamic #t250 = this.{=core::Object::noSuchMetho d}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: fal se), <dynamic>[this, #t248, #t249].toList(growable: false), true)) in #t249;
150 core::num v5 = let final dynamic #t251 = "x" in let final dynamic #t252 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[ 0, 2, 2].toList(growable: false), <dynamic>[this, #t251].toList(growable: false) , true)) in #t252.{core::num::==}(null) ? let final dynamic #t253 = self::getNum () in let final dynamic #t254 = this.{=core::Object::noSuchMethod}(new core::_In vocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[t his, #t251, #t253].toList(growable: false), true)) in #t253 : #t252;
151 core::double v6 = let final dynamic #t255 = "x" in let final dynamic #t256 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynami c>[0, 2, 2].toList(growable: false), <dynamic>[this, #t255].toList(growable: fal se), true)) in #t256.{core::num::==}(null) ? let final dynamic #t257 = self::get Double() in let final dynamic #t258 = this.{=core::Object::noSuchMethod}(new cor e::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dyna mic>[this, #t255, #t257].toList(growable: false), true)) in #t257 : #t256;
152 core::double v7 = let final dynamic #t259 = "x" in let final dynamic #t260 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynami c>[0, 2, 2].toList(growable: false), <dynamic>[this, #t259].toList(growable: fal se), true)).{core::double::+}(self::getInt()) in let final dynamic #t261 = this. {=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t259, #t260].toList(growable: f alse), true)) in #t260;
153 core::double v8 = let final dynamic #t262 = "x" in let final dynamic #t263 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynami c>[0, 2, 2].toList(growable: false), <dynamic>[this, #t262].toList(growable: fal se), true)).{core::double::+}(self::getNum()) in let final dynamic #t264 = this. {=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), <dynamic>[this, #t262, #t263].toList(growable: f alse), true)) in #t263;
154 core::double v9 = let final dynamic #t265 = "x" in let final dynamic #t266 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynami c>[0, 2, 2].toList(growable: false), <dynamic>[this, #t265].toList(growable: fal se), true)).{core::double::+}(self::getDouble()) in let final dynamic #t267 = th is.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic> [0, 3, 3].toList(growable: false), <dynamic>[this, #t265, #t266].toList(growable : false), true)) in #t266;
155 core::double v10 = let final dynamic #t268 = "x" in let final dynamic #t269 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynam ic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t268].toList(growable: fa lse), true)).{core::double::+}(1) in let final dynamic #t270 = this.{=core::Obje ct::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toLis t(growable: false), <dynamic>[this, #t268, #t269].toList(growable: false), true) ) in #t269;
156 core::double v11 = let final dynamic #t271 = "x" in let final dynamic #t272 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynam ic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t271].toList(growable: fa lse), true)) in let final dynamic #t273 = this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]=", <dynamic>[0, 3, 3].toList(growable: false), < dynamic>[this, #t271, #t272.{core::double::+}(1)].toList(growable: false), true) ) in #t272;
157 }
158 }
159 static method getInt() → core::int
160 return 0;
161 static method getNum() → core::num
162 return 0;
163 static method getDouble() → core::double
164 return 0.0;
165 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698