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

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

Issue 2953503002: Only set types of conditional expressions in strong mode. (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
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 abstract class Base<T extends core::Object, U extends core::Object> extends core ::Object { 5 abstract class Base<T extends core::Object, U extends core::Object> extends core ::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 operator [](core::String s) → self::Base::T 9 operator [](core::String s) → self::Base::T
10 return this.{self::Base::getValue}(s); 10 return this.{self::Base::getValue}(s);
11 operator []=(core::String s, self::Base::U v) → void 11 operator []=(core::String s, self::Base::U v) → void
12 return this.{self::Base::setValue}(s, v); 12 return this.{self::Base::setValue}(s, v);
13 abstract method getValue(core::String s) → self::Base::T; 13 abstract method getValue(core::String s) → self::Base::T;
14 abstract method setValue(core::String s, self::Base::U v) → void; 14 abstract method setValue(core::String s, self::Base::U v) → void;
15 } 15 }
16 abstract class Test1 extends self::Base<core::int, core::int> { 16 abstract class Test1 extends self::Base<core::int, core::int> {
17 constructor •() → void 17 constructor •() → void
18 : super self::Base::•() 18 : super self::Base::•()
19 ; 19 ;
20 method test() → void { 20 method test() → void {
21 core::int v1 = let final dynamic #t1 = "x" in let final dynamic #t2 = self:: getInt() in let final dynamic #t3 = super.{self::Base::[]=}(#t1, #t2) in #t2; 21 core::int v1 = let final dynamic #t1 = "x" in let final dynamic #t2 = self:: getInt() in let final dynamic #t3 = super.{self::Base::[]=}(#t1, #t2) in #t2;
22 core::num v2 = let final dynamic #t4 = "x" in let final dynamic #t5 = self:: getNum() in let final dynamic #t6 = super.{self::Base::[]=}(#t4, #t5) in #t5; 22 core::num v2 = let final dynamic #t4 = "x" in let final dynamic #t5 = self:: getNum() in let final dynamic #t6 = super.{self::Base::[]=}(#t4, #t5) in #t5;
23 core::int v4 = let final dynamic #t7 = "x" in let final dynamic #t8 = super. {self::Base::[]}(#t7) in #t8.{core::num::==}(null) ?{dynamic} let final dynamic #t9 = self::getInt() in let final dynamic #t10 = super.{self::Base::[]=}(#t7, #t 9) in #t9 : #t8; 23 core::int v4 = let final dynamic #t7 = "x" in let final dynamic #t8 = super. {self::Base::[]}(#t7) in #t8.{core::num::==}(null) ? let final dynamic #t9 = sel f::getInt() in let final dynamic #t10 = super.{self::Base::[]=}(#t7, #t9) in #t9 : #t8;
24 core::num v5 = let final dynamic #t11 = "x" in let final dynamic #t12 = supe r.{self::Base::[]}(#t11) in #t12.{core::num::==}(null) ?{dynamic} let final dyna mic #t13 = self::getNum() in let final dynamic #t14 = super.{self::Base::[]=}(#t 11, #t13) in #t13 : #t12; 24 core::num v5 = let final dynamic #t11 = "x" in let final dynamic #t12 = supe r.{self::Base::[]}(#t11) in #t12.{core::num::==}(null) ? let final dynamic #t13 = self::getNum() in let final dynamic #t14 = super.{self::Base::[]=}(#t11, #t13) in #t13 : #t12;
25 core::int v7 = let final dynamic #t15 = "x" in let final dynamic #t16 = supe r.{self::Base::[]}(#t15).{core::num::+}(self::getInt()) in let final dynamic #t1 7 = super.{self::Base::[]=}(#t15, #t16) in #t16; 25 core::int v7 = let final dynamic #t15 = "x" in let final dynamic #t16 = supe r.{self::Base::[]}(#t15).{core::num::+}(self::getInt()) in let final dynamic #t1 7 = super.{self::Base::[]=}(#t15, #t16) in #t16;
26 core::num v8 = let final dynamic #t18 = "x" in let final dynamic #t19 = supe r.{self::Base::[]}(#t18).{core::num::+}(self::getNum()) in let final dynamic #t2 0 = super.{self::Base::[]=}(#t18, #t19) in #t19; 26 core::num v8 = let final dynamic #t18 = "x" in let final dynamic #t19 = supe r.{self::Base::[]}(#t18).{core::num::+}(self::getNum()) in let final dynamic #t2 0 = super.{self::Base::[]=}(#t18, #t19) in #t19;
27 core::int v10 = let final dynamic #t21 = "x" in let final dynamic #t22 = sup er.{self::Base::[]}(#t21).{core::num::+}(1) in let final dynamic #t23 = super.{s elf::Base::[]=}(#t21, #t22) in #t22; 27 core::int v10 = let final dynamic #t21 = "x" in let final dynamic #t22 = sup er.{self::Base::[]}(#t21).{core::num::+}(1) in let final dynamic #t23 = super.{s elf::Base::[]=}(#t21, #t22) in #t22;
28 core::int v11 = let final dynamic #t24 = "x" in let final dynamic #t25 = sup er.{self::Base::[]}(#t24) in let final dynamic #t26 = super.{self::Base::[]=}(#t 24, #t25.{core::num::+}(1)) in #t25; 28 core::int v11 = let final dynamic #t24 = "x" in let final dynamic #t25 = sup er.{self::Base::[]}(#t24) in let final dynamic #t26 = super.{self::Base::[]=}(#t 24, #t25.{core::num::+}(1)) in #t25;
29 } 29 }
30 } 30 }
31 abstract class Test2 extends self::Base<core::int, core::num> { 31 abstract class Test2 extends self::Base<core::int, core::num> {
32 constructor •() → void 32 constructor •() → void
33 : super self::Base::•() 33 : super self::Base::•()
34 ; 34 ;
35 method test() → void { 35 method test() → void {
36 core::int v1 = let final dynamic #t27 = "x" in let final dynamic #t28 = self ::getInt() in let final dynamic #t29 = super.{self::Base::[]=}(#t27, #t28) in #t 28; 36 core::int v1 = let final dynamic #t27 = "x" in let final dynamic #t28 = self ::getInt() in let final dynamic #t29 = super.{self::Base::[]=}(#t27, #t28) in #t 28;
37 core::num v2 = let final dynamic #t30 = "x" in let final dynamic #t31 = self ::getNum() in let final dynamic #t32 = super.{self::Base::[]=}(#t30, #t31) in #t 31; 37 core::num v2 = let final dynamic #t30 = "x" in let final dynamic #t31 = self ::getNum() in let final dynamic #t32 = super.{self::Base::[]=}(#t30, #t31) in #t 31;
38 core::double v3 = let final dynamic #t33 = "x" in let final dynamic #t34 = s elf::getDouble() in let final dynamic #t35 = super.{self::Base::[]=}(#t33, #t34) in #t34; 38 core::double v3 = let final dynamic #t33 = "x" in let final dynamic #t34 = s elf::getDouble() in let final dynamic #t35 = super.{self::Base::[]=}(#t33, #t34) in #t34;
39 core::num v4 = let final dynamic #t36 = "x" in let final dynamic #t37 = supe r.{self::Base::[]}(#t36) in #t37.{core::num::==}(null) ?{dynamic} let final dyna mic #t38 = self::getInt() in let final dynamic #t39 = super.{self::Base::[]=}(#t 36, #t38) in #t38 : #t37; 39 core::num v4 = let final dynamic #t36 = "x" in let final dynamic #t37 = supe r.{self::Base::[]}(#t36) in #t37.{core::num::==}(null) ? let final dynamic #t38 = self::getInt() in let final dynamic #t39 = super.{self::Base::[]=}(#t36, #t38) in #t38 : #t37;
40 core::num v5 = let final dynamic #t40 = "x" in let final dynamic #t41 = supe r.{self::Base::[]}(#t40) in #t41.{core::num::==}(null) ?{dynamic} let final dyna mic #t42 = self::getNum() in let final dynamic #t43 = super.{self::Base::[]=}(#t 40, #t42) in #t42 : #t41; 40 core::num v5 = let final dynamic #t40 = "x" in let final dynamic #t41 = supe r.{self::Base::[]}(#t40) in #t41.{core::num::==}(null) ? let final dynamic #t42 = self::getNum() in let final dynamic #t43 = super.{self::Base::[]=}(#t40, #t42) in #t42 : #t41;
41 core::num v6 = let final dynamic #t44 = "x" in let final dynamic #t45 = supe r.{self::Base::[]}(#t44) in #t45.{core::num::==}(null) ?{dynamic} let final dyna mic #t46 = self::getDouble() in let final dynamic #t47 = super.{self::Base::[]=} (#t44, #t46) in #t46 : #t45; 41 core::num v6 = let final dynamic #t44 = "x" in let final dynamic #t45 = supe r.{self::Base::[]}(#t44) in #t45.{core::num::==}(null) ? let final dynamic #t46 = self::getDouble() in let final dynamic #t47 = super.{self::Base::[]=}(#t44, #t 46) in #t46 : #t45;
42 core::num v7 = let final dynamic #t48 = "x" in let final dynamic #t49 = supe r.{self::Base::[]}(#t48).{core::num::+}(self::getInt()) in let final dynamic #t5 0 = super.{self::Base::[]=}(#t48, #t49) in #t49; 42 core::num v7 = let final dynamic #t48 = "x" in let final dynamic #t49 = supe r.{self::Base::[]}(#t48).{core::num::+}(self::getInt()) in let final dynamic #t5 0 = super.{self::Base::[]=}(#t48, #t49) in #t49;
43 core::num v8 = let final dynamic #t51 = "x" in let final dynamic #t52 = supe r.{self::Base::[]}(#t51).{core::num::+}(self::getNum()) in let final dynamic #t5 3 = super.{self::Base::[]=}(#t51, #t52) in #t52; 43 core::num v8 = let final dynamic #t51 = "x" in let final dynamic #t52 = supe r.{self::Base::[]}(#t51).{core::num::+}(self::getNum()) in let final dynamic #t5 3 = super.{self::Base::[]=}(#t51, #t52) in #t52;
44 core::num v9 = let final dynamic #t54 = "x" in let final dynamic #t55 = supe r.{self::Base::[]}(#t54).{core::num::+}(self::getDouble()) in let final dynamic #t56 = super.{self::Base::[]=}(#t54, #t55) in #t55; 44 core::num v9 = let final dynamic #t54 = "x" in let final dynamic #t55 = supe r.{self::Base::[]}(#t54).{core::num::+}(self::getDouble()) in let final dynamic #t56 = super.{self::Base::[]=}(#t54, #t55) in #t55;
45 core::num v10 = let final dynamic #t57 = "x" in let final dynamic #t58 = sup er.{self::Base::[]}(#t57).{core::num::+}(1) in let final dynamic #t59 = super.{s elf::Base::[]=}(#t57, #t58) in #t58; 45 core::num v10 = let final dynamic #t57 = "x" in let final dynamic #t58 = sup er.{self::Base::[]}(#t57).{core::num::+}(1) in let final dynamic #t59 = super.{s elf::Base::[]=}(#t57, #t58) in #t58;
46 core::num v11 = let final dynamic #t60 = "x" in let final dynamic #t61 = sup er.{self::Base::[]}(#t60) in let final dynamic #t62 = super.{self::Base::[]=}(#t 60, #t61.{core::num::+}(1)) in #t61; 46 core::num v11 = let final dynamic #t60 = "x" in let final dynamic #t61 = sup er.{self::Base::[]}(#t60) in let final dynamic #t62 = super.{self::Base::[]=}(#t 60, #t61.{core::num::+}(1)) in #t61;
47 } 47 }
48 } 48 }
49 abstract class Test3 extends self::Base<core::int, core::double> { 49 abstract class Test3 extends self::Base<core::int, core::double> {
50 constructor •() → void 50 constructor •() → void
51 : super self::Base::•() 51 : super self::Base::•()
52 ; 52 ;
53 method test() → void { 53 method test() → void {
54 core::num v2 = let final dynamic #t63 = "x" in let final dynamic #t64 = self ::getNum() in let final dynamic #t65 = super.{self::Base::[]=}(#t63, #t64) in #t 64; 54 core::num v2 = let final dynamic #t63 = "x" in let final dynamic #t64 = self ::getNum() in let final dynamic #t65 = super.{self::Base::[]=}(#t63, #t64) in #t 64;
55 core::double v3 = let final dynamic #t66 = "x" in let final dynamic #t67 = s elf::getDouble() in let final dynamic #t68 = super.{self::Base::[]=}(#t66, #t67) in #t67; 55 core::double v3 = let final dynamic #t66 = "x" in let final dynamic #t67 = s elf::getDouble() in let final dynamic #t68 = super.{self::Base::[]=}(#t66, #t67) in #t67;
56 core::num v5 = let final dynamic #t69 = "x" in let final dynamic #t70 = supe r.{self::Base::[]}(#t69) in #t70.{core::num::==}(null) ?{dynamic} let final dyna mic #t71 = self::getNum() in let final dynamic #t72 = super.{self::Base::[]=}(#t 69, #t71) in #t71 : #t70; 56 core::num v5 = let final dynamic #t69 = "x" in let final dynamic #t70 = supe r.{self::Base::[]}(#t69) in #t70.{core::num::==}(null) ? let final dynamic #t71 = self::getNum() in let final dynamic #t72 = super.{self::Base::[]=}(#t69, #t71) in #t71 : #t70;
57 core::double v6 = let final dynamic #t73 = "x" in let final dynamic #t74 = s uper.{self::Base::[]}(#t73) in #t74.{core::num::==}(null) ?{dynamic} let final d ynamic #t75 = self::getDouble() in let final dynamic #t76 = super.{self::Base::[ ]=}(#t73, #t75) in #t75 : #t74; 57 core::double v6 = let final dynamic #t73 = "x" in let final dynamic #t74 = s uper.{self::Base::[]}(#t73) in #t74.{core::num::==}(null) ? let final dynamic #t 75 = self::getDouble() in let final dynamic #t76 = super.{self::Base::[]=}(#t73, #t75) in #t75 : #t74;
58 core::double v7 = let final dynamic #t77 = "x" in let final dynamic #t78 = s uper.{self::Base::[]}(#t77).{core::double::+}(self::getInt()) in let final dynam ic #t79 = super.{self::Base::[]=}(#t77, #t78) in #t78; 58 core::double v7 = let final dynamic #t77 = "x" in let final dynamic #t78 = s uper.{self::Base::[]}(#t77).{core::double::+}(self::getInt()) in let final dynam ic #t79 = super.{self::Base::[]=}(#t77, #t78) in #t78;
59 core::double v8 = let final dynamic #t80 = "x" in let final dynamic #t81 = s uper.{self::Base::[]}(#t80).{core::double::+}(self::getNum()) in let final dynam ic #t82 = super.{self::Base::[]=}(#t80, #t81) in #t81; 59 core::double v8 = let final dynamic #t80 = "x" in let final dynamic #t81 = s uper.{self::Base::[]}(#t80).{core::double::+}(self::getNum()) in let final dynam ic #t82 = super.{self::Base::[]=}(#t80, #t81) in #t81;
60 core::double v9 = let final dynamic #t83 = "x" in let final dynamic #t84 = s uper.{self::Base::[]}(#t83).{core::double::+}(self::getDouble()) in let final dy namic #t85 = super.{self::Base::[]=}(#t83, #t84) in #t84; 60 core::double v9 = let final dynamic #t83 = "x" in let final dynamic #t84 = s uper.{self::Base::[]}(#t83).{core::double::+}(self::getDouble()) in let final dy namic #t85 = super.{self::Base::[]=}(#t83, #t84) in #t84;
61 core::double v10 = let final dynamic #t86 = "x" in let final dynamic #t87 = super.{self::Base::[]}(#t86).{core::double::+}(1) in let final dynamic #t88 = su per.{self::Base::[]=}(#t86, #t87) in #t87; 61 core::double v10 = let final dynamic #t86 = "x" in let final dynamic #t87 = super.{self::Base::[]}(#t86).{core::double::+}(1) in let final dynamic #t88 = su per.{self::Base::[]=}(#t86, #t87) in #t87;
62 core::double v11 = let final dynamic #t89 = "x" in let final dynamic #t90 = super.{self::Base::[]}(#t89) in let final dynamic #t91 = super.{self::Base::[]=} (#t89, #t90.{core::double::+}(1)) in #t90; 62 core::double v11 = let final dynamic #t89 = "x" in let final dynamic #t90 = super.{self::Base::[]}(#t89) in let final dynamic #t91 = super.{self::Base::[]=} (#t89, #t90.{core::double::+}(1)) in #t90;
63 } 63 }
64 } 64 }
65 abstract class Test4 extends self::Base<core::num, core::int> { 65 abstract class Test4 extends self::Base<core::num, core::int> {
66 constructor •() → void 66 constructor •() → void
67 : super self::Base::•() 67 : super self::Base::•()
68 ; 68 ;
69 method test() → void { 69 method test() → void {
70 core::int v1 = let final dynamic #t92 = "x" in let final dynamic #t93 = self ::getInt() in let final dynamic #t94 = super.{self::Base::[]=}(#t92, #t93) in #t 93; 70 core::int v1 = let final dynamic #t92 = "x" in let final dynamic #t93 = self ::getInt() in let final dynamic #t94 = super.{self::Base::[]=}(#t92, #t93) in #t 93;
71 core::num v2 = let final dynamic #t95 = "x" in let final dynamic #t96 = self ::getNum() in let final dynamic #t97 = super.{self::Base::[]=}(#t95, #t96) in #t 96; 71 core::num v2 = let final dynamic #t95 = "x" in let final dynamic #t96 = self ::getNum() in let final dynamic #t97 = super.{self::Base::[]=}(#t95, #t96) in #t 96;
72 core::int v4 = let final dynamic #t98 = "x" in let final dynamic #t99 = supe r.{self::Base::[]}(#t98) in #t99.{core::num::==}(null) ?{dynamic} let final dyna mic #t100 = self::getInt() in let final dynamic #t101 = super.{self::Base::[]=}( #t98, #t100) in #t100 : #t99; 72 core::int v4 = let final dynamic #t98 = "x" in let final dynamic #t99 = supe r.{self::Base::[]}(#t98) in #t99.{core::num::==}(null) ? let final dynamic #t100 = self::getInt() in let final dynamic #t101 = super.{self::Base::[]=}(#t98, #t1 00) in #t100 : #t99;
73 core::num v5 = let final dynamic #t102 = "x" in let final dynamic #t103 = su per.{self::Base::[]}(#t102) in #t103.{core::num::==}(null) ?{dynamic} let final dynamic #t104 = self::getNum() in let final dynamic #t105 = super.{self::Base::[ ]=}(#t102, #t104) in #t104 : #t103; 73 core::num v5 = let final dynamic #t102 = "x" in let final dynamic #t103 = su per.{self::Base::[]}(#t102) in #t103.{core::num::==}(null) ? let final dynamic # t104 = self::getNum() in let final dynamic #t105 = super.{self::Base::[]=}(#t102 , #t104) in #t104 : #t103;
74 core::int v7 = let final dynamic #t106 = "x" in let final dynamic #t107 = su per.{self::Base::[]}(#t106).{core::num::+}(self::getInt()) in let final dynamic #t108 = super.{self::Base::[]=}(#t106, #t107) in #t107; 74 core::int v7 = let final dynamic #t106 = "x" in let final dynamic #t107 = su per.{self::Base::[]}(#t106).{core::num::+}(self::getInt()) in let final dynamic #t108 = super.{self::Base::[]=}(#t106, #t107) in #t107;
75 core::num v8 = let final dynamic #t109 = "x" in let final dynamic #t110 = su per.{self::Base::[]}(#t109).{core::num::+}(self::getNum()) in let final dynamic #t111 = super.{self::Base::[]=}(#t109, #t110) in #t110; 75 core::num v8 = let final dynamic #t109 = "x" in let final dynamic #t110 = su per.{self::Base::[]}(#t109).{core::num::+}(self::getNum()) in let final dynamic #t111 = super.{self::Base::[]=}(#t109, #t110) in #t110;
76 core::int v10 = let final dynamic #t112 = "x" in let final dynamic #t113 = s uper.{self::Base::[]}(#t112).{core::num::+}(1) in let final dynamic #t114 = supe r.{self::Base::[]=}(#t112, #t113) in #t113; 76 core::int v10 = let final dynamic #t112 = "x" in let final dynamic #t113 = s uper.{self::Base::[]}(#t112).{core::num::+}(1) in let final dynamic #t114 = supe r.{self::Base::[]=}(#t112, #t113) in #t113;
77 core::int v11 = let final dynamic #t115 = "x" in let final dynamic #t116 = s uper.{self::Base::[]}(#t115) in let final dynamic #t117 = super.{self::Base::[]= }(#t115, #t116.{core::num::+}(1)) in #t116; 77 core::int v11 = let final dynamic #t115 = "x" in let final dynamic #t116 = s uper.{self::Base::[]}(#t115) in let final dynamic #t117 = super.{self::Base::[]= }(#t115, #t116.{core::num::+}(1)) in #t116;
78 } 78 }
79 } 79 }
80 abstract class Test5 extends self::Base<core::num, core::num> { 80 abstract class Test5 extends self::Base<core::num, core::num> {
81 constructor •() → void 81 constructor •() → void
82 : super self::Base::•() 82 : super self::Base::•()
83 ; 83 ;
84 method test() → void { 84 method test() → void {
85 core::int v1 = let final dynamic #t118 = "x" in let final dynamic #t119 = se lf::getInt() in let final dynamic #t120 = super.{self::Base::[]=}(#t118, #t119) in #t119; 85 core::int v1 = let final dynamic #t118 = "x" in let final dynamic #t119 = se lf::getInt() in let final dynamic #t120 = super.{self::Base::[]=}(#t118, #t119) in #t119;
86 core::num v2 = let final dynamic #t121 = "x" in let final dynamic #t122 = se lf::getNum() in let final dynamic #t123 = super.{self::Base::[]=}(#t121, #t122) in #t122; 86 core::num v2 = let final dynamic #t121 = "x" in let final dynamic #t122 = se lf::getNum() in let final dynamic #t123 = super.{self::Base::[]=}(#t121, #t122) in #t122;
87 core::double v3 = let final dynamic #t124 = "x" in let final dynamic #t125 = self::getDouble() in let final dynamic #t126 = super.{self::Base::[]=}(#t124, # t125) in #t125; 87 core::double v3 = let final dynamic #t124 = "x" in let final dynamic #t125 = self::getDouble() in let final dynamic #t126 = super.{self::Base::[]=}(#t124, # t125) in #t125;
88 core::num v4 = let final dynamic #t127 = "x" in let final dynamic #t128 = su per.{self::Base::[]}(#t127) in #t128.{core::num::==}(null) ?{dynamic} let final dynamic #t129 = self::getInt() in let final dynamic #t130 = super.{self::Base::[ ]=}(#t127, #t129) in #t129 : #t128; 88 core::num v4 = let final dynamic #t127 = "x" in let final dynamic #t128 = su per.{self::Base::[]}(#t127) in #t128.{core::num::==}(null) ? let final dynamic # t129 = self::getInt() in let final dynamic #t130 = super.{self::Base::[]=}(#t127 , #t129) in #t129 : #t128;
89 core::num v5 = let final dynamic #t131 = "x" in let final dynamic #t132 = su per.{self::Base::[]}(#t131) in #t132.{core::num::==}(null) ?{dynamic} let final dynamic #t133 = self::getNum() in let final dynamic #t134 = super.{self::Base::[ ]=}(#t131, #t133) in #t133 : #t132; 89 core::num v5 = let final dynamic #t131 = "x" in let final dynamic #t132 = su per.{self::Base::[]}(#t131) in #t132.{core::num::==}(null) ? let final dynamic # t133 = self::getNum() in let final dynamic #t134 = super.{self::Base::[]=}(#t131 , #t133) in #t133 : #t132;
90 core::num v6 = let final dynamic #t135 = "x" in let final dynamic #t136 = su per.{self::Base::[]}(#t135) in #t136.{core::num::==}(null) ?{dynamic} let final dynamic #t137 = self::getDouble() in let final dynamic #t138 = super.{self::Base ::[]=}(#t135, #t137) in #t137 : #t136; 90 core::num v6 = let final dynamic #t135 = "x" in let final dynamic #t136 = su per.{self::Base::[]}(#t135) in #t136.{core::num::==}(null) ? let final dynamic # t137 = self::getDouble() in let final dynamic #t138 = super.{self::Base::[]=}(#t 135, #t137) in #t137 : #t136;
91 core::num v7 = let final dynamic #t139 = "x" in let final dynamic #t140 = su per.{self::Base::[]}(#t139).{core::num::+}(self::getInt()) in let final dynamic #t141 = super.{self::Base::[]=}(#t139, #t140) in #t140; 91 core::num v7 = let final dynamic #t139 = "x" in let final dynamic #t140 = su per.{self::Base::[]}(#t139).{core::num::+}(self::getInt()) in let final dynamic #t141 = super.{self::Base::[]=}(#t139, #t140) in #t140;
92 core::num v8 = let final dynamic #t142 = "x" in let final dynamic #t143 = su per.{self::Base::[]}(#t142).{core::num::+}(self::getNum()) in let final dynamic #t144 = super.{self::Base::[]=}(#t142, #t143) in #t143; 92 core::num v8 = let final dynamic #t142 = "x" in let final dynamic #t143 = su per.{self::Base::[]}(#t142).{core::num::+}(self::getNum()) in let final dynamic #t144 = super.{self::Base::[]=}(#t142, #t143) in #t143;
93 core::num v9 = let final dynamic #t145 = "x" in let final dynamic #t146 = su per.{self::Base::[]}(#t145).{core::num::+}(self::getDouble()) in let final dynam ic #t147 = super.{self::Base::[]=}(#t145, #t146) in #t146; 93 core::num v9 = let final dynamic #t145 = "x" in let final dynamic #t146 = su per.{self::Base::[]}(#t145).{core::num::+}(self::getDouble()) in let final dynam ic #t147 = super.{self::Base::[]=}(#t145, #t146) in #t146;
94 core::num v10 = let final dynamic #t148 = "x" in let final dynamic #t149 = s uper.{self::Base::[]}(#t148).{core::num::+}(1) in let final dynamic #t150 = supe r.{self::Base::[]=}(#t148, #t149) in #t149; 94 core::num v10 = let final dynamic #t148 = "x" in let final dynamic #t149 = s uper.{self::Base::[]}(#t148).{core::num::+}(1) in let final dynamic #t150 = supe r.{self::Base::[]=}(#t148, #t149) in #t149;
95 core::num v11 = let final dynamic #t151 = "x" in let final dynamic #t152 = s uper.{self::Base::[]}(#t151) in let final dynamic #t153 = super.{self::Base::[]= }(#t151, #t152.{core::num::+}(1)) in #t152; 95 core::num v11 = let final dynamic #t151 = "x" in let final dynamic #t152 = s uper.{self::Base::[]}(#t151) in let final dynamic #t153 = super.{self::Base::[]= }(#t151, #t152.{core::num::+}(1)) in #t152;
96 } 96 }
97 } 97 }
98 abstract class Test6 extends self::Base<core::num, core::double> { 98 abstract class Test6 extends self::Base<core::num, core::double> {
99 constructor •() → void 99 constructor •() → void
100 : super self::Base::•() 100 : super self::Base::•()
101 ; 101 ;
102 method test() → void { 102 method test() → void {
103 core::num v2 = let final dynamic #t154 = "x" in let final dynamic #t155 = se lf::getNum() in let final dynamic #t156 = super.{self::Base::[]=}(#t154, #t155) in #t155; 103 core::num v2 = let final dynamic #t154 = "x" in let final dynamic #t155 = se lf::getNum() in let final dynamic #t156 = super.{self::Base::[]=}(#t154, #t155) in #t155;
104 core::double v3 = let final dynamic #t157 = "x" in let final dynamic #t158 = self::getDouble() in let final dynamic #t159 = super.{self::Base::[]=}(#t157, # t158) in #t158; 104 core::double v3 = let final dynamic #t157 = "x" in let final dynamic #t158 = self::getDouble() in let final dynamic #t159 = super.{self::Base::[]=}(#t157, # t158) in #t158;
105 core::num v5 = let final dynamic #t160 = "x" in let final dynamic #t161 = su per.{self::Base::[]}(#t160) in #t161.{core::num::==}(null) ?{dynamic} let final dynamic #t162 = self::getNum() in let final dynamic #t163 = super.{self::Base::[ ]=}(#t160, #t162) in #t162 : #t161; 105 core::num v5 = let final dynamic #t160 = "x" in let final dynamic #t161 = su per.{self::Base::[]}(#t160) in #t161.{core::num::==}(null) ? let final dynamic # t162 = self::getNum() in let final dynamic #t163 = super.{self::Base::[]=}(#t160 , #t162) in #t162 : #t161;
106 core::double v6 = let final dynamic #t164 = "x" in let final dynamic #t165 = super.{self::Base::[]}(#t164) in #t165.{core::num::==}(null) ?{dynamic} let fin al dynamic #t166 = self::getDouble() in let final dynamic #t167 = super.{self::B ase::[]=}(#t164, #t166) in #t166 : #t165; 106 core::double v6 = let final dynamic #t164 = "x" in let final dynamic #t165 = super.{self::Base::[]}(#t164) in #t165.{core::num::==}(null) ? let final dynami c #t166 = self::getDouble() in let final dynamic #t167 = super.{self::Base::[]=} (#t164, #t166) in #t166 : #t165;
107 core::double v7 = let final dynamic #t168 = "x" in let final dynamic #t169 = super.{self::Base::[]}(#t168).{core::double::+}(self::getInt()) in let final dy namic #t170 = super.{self::Base::[]=}(#t168, #t169) in #t169; 107 core::double v7 = let final dynamic #t168 = "x" in let final dynamic #t169 = super.{self::Base::[]}(#t168).{core::double::+}(self::getInt()) in let final dy namic #t170 = super.{self::Base::[]=}(#t168, #t169) in #t169;
108 core::double v8 = let final dynamic #t171 = "x" in let final dynamic #t172 = super.{self::Base::[]}(#t171).{core::double::+}(self::getNum()) in let final dy namic #t173 = super.{self::Base::[]=}(#t171, #t172) in #t172; 108 core::double v8 = let final dynamic #t171 = "x" in let final dynamic #t172 = super.{self::Base::[]}(#t171).{core::double::+}(self::getNum()) in let final dy namic #t173 = super.{self::Base::[]=}(#t171, #t172) in #t172;
109 core::double v9 = let final dynamic #t174 = "x" in let final dynamic #t175 = super.{self::Base::[]}(#t174).{core::double::+}(self::getDouble()) in let final dynamic #t176 = super.{self::Base::[]=}(#t174, #t175) in #t175; 109 core::double v9 = let final dynamic #t174 = "x" in let final dynamic #t175 = super.{self::Base::[]}(#t174).{core::double::+}(self::getDouble()) in let final dynamic #t176 = super.{self::Base::[]=}(#t174, #t175) in #t175;
110 core::double v10 = let final dynamic #t177 = "x" in let final dynamic #t178 = super.{self::Base::[]}(#t177).{core::double::+}(1) in let final dynamic #t179 = super.{self::Base::[]=}(#t177, #t178) in #t178; 110 core::double v10 = let final dynamic #t177 = "x" in let final dynamic #t178 = super.{self::Base::[]}(#t177).{core::double::+}(1) in let final dynamic #t179 = super.{self::Base::[]=}(#t177, #t178) in #t178;
111 core::double v11 = let final dynamic #t180 = "x" in let final dynamic #t181 = super.{self::Base::[]}(#t180) in let final dynamic #t182 = super.{self::Base:: []=}(#t180, #t181.{core::double::+}(1)) in #t181; 111 core::double v11 = let final dynamic #t180 = "x" in let final dynamic #t181 = super.{self::Base::[]}(#t180) in let final dynamic #t182 = super.{self::Base:: []=}(#t180, #t181.{core::double::+}(1)) in #t181;
112 } 112 }
113 } 113 }
114 abstract class Test7 extends self::Base<core::double, core::int> { 114 abstract class Test7 extends self::Base<core::double, core::int> {
115 constructor •() → void 115 constructor •() → void
116 : super self::Base::•() 116 : super self::Base::•()
117 ; 117 ;
118 method test() → void { 118 method test() → void {
119 core::int v1 = let final dynamic #t183 = "x" in let final dynamic #t184 = se lf::getInt() in let final dynamic #t185 = super.{self::Base::[]=}(#t183, #t184) in #t184; 119 core::int v1 = let final dynamic #t183 = "x" in let final dynamic #t184 = se lf::getInt() in let final dynamic #t185 = super.{self::Base::[]=}(#t183, #t184) in #t184;
120 core::num v2 = let final dynamic #t186 = "x" in let final dynamic #t187 = se lf::getNum() in let final dynamic #t188 = super.{self::Base::[]=}(#t186, #t187) in #t187; 120 core::num v2 = let final dynamic #t186 = "x" in let final dynamic #t187 = se lf::getNum() in let final dynamic #t188 = super.{self::Base::[]=}(#t186, #t187) in #t187;
121 core::int v4 = let final dynamic #t189 = "x" in let final dynamic #t190 = su per.{self::Base::[]}(#t189) in #t190.{core::num::==}(null) ?{dynamic} let final dynamic #t191 = self::getInt() in let final dynamic #t192 = super.{self::Base::[ ]=}(#t189, #t191) in #t191 : #t190; 121 core::int v4 = let final dynamic #t189 = "x" in let final dynamic #t190 = su per.{self::Base::[]}(#t189) in #t190.{core::num::==}(null) ? let final dynamic # t191 = self::getInt() in let final dynamic #t192 = super.{self::Base::[]=}(#t189 , #t191) in #t191 : #t190;
122 core::num v5 = let final dynamic #t193 = "x" in let final dynamic #t194 = su per.{self::Base::[]}(#t193) in #t194.{core::num::==}(null) ?{dynamic} let final dynamic #t195 = self::getNum() in let final dynamic #t196 = super.{self::Base::[ ]=}(#t193, #t195) in #t195 : #t194; 122 core::num v5 = let final dynamic #t193 = "x" in let final dynamic #t194 = su per.{self::Base::[]}(#t193) in #t194.{core::num::==}(null) ? let final dynamic # t195 = self::getNum() in let final dynamic #t196 = super.{self::Base::[]=}(#t193 , #t195) in #t195 : #t194;
123 core::int v7 = let final dynamic #t197 = "x" in let final dynamic #t198 = su per.{self::Base::[]}(#t197).{core::num::+}(self::getInt()) in let final dynamic #t199 = super.{self::Base::[]=}(#t197, #t198) in #t198; 123 core::int v7 = let final dynamic #t197 = "x" in let final dynamic #t198 = su per.{self::Base::[]}(#t197).{core::num::+}(self::getInt()) in let final dynamic #t199 = super.{self::Base::[]=}(#t197, #t198) in #t198;
124 core::num v8 = let final dynamic #t200 = "x" in let final dynamic #t201 = su per.{self::Base::[]}(#t200).{core::num::+}(self::getNum()) in let final dynamic #t202 = super.{self::Base::[]=}(#t200, #t201) in #t201; 124 core::num v8 = let final dynamic #t200 = "x" in let final dynamic #t201 = su per.{self::Base::[]}(#t200).{core::num::+}(self::getNum()) in let final dynamic #t202 = super.{self::Base::[]=}(#t200, #t201) in #t201;
125 core::int v10 = let final dynamic #t203 = "x" in let final dynamic #t204 = s uper.{self::Base::[]}(#t203).{core::num::+}(1) in let final dynamic #t205 = supe r.{self::Base::[]=}(#t203, #t204) in #t204; 125 core::int v10 = let final dynamic #t203 = "x" in let final dynamic #t204 = s uper.{self::Base::[]}(#t203).{core::num::+}(1) in let final dynamic #t205 = supe r.{self::Base::[]=}(#t203, #t204) in #t204;
126 core::int v11 = let final dynamic #t206 = "x" in let final dynamic #t207 = s uper.{self::Base::[]}(#t206) in let final dynamic #t208 = super.{self::Base::[]= }(#t206, #t207.{core::num::+}(1)) in #t207; 126 core::int v11 = let final dynamic #t206 = "x" in let final dynamic #t207 = s uper.{self::Base::[]}(#t206) in let final dynamic #t208 = super.{self::Base::[]= }(#t206, #t207.{core::num::+}(1)) in #t207;
127 } 127 }
128 } 128 }
129 abstract class Test8 extends self::Base<core::double, core::num> { 129 abstract class Test8 extends self::Base<core::double, core::num> {
130 constructor •() → void 130 constructor •() → void
131 : super self::Base::•() 131 : super self::Base::•()
132 ; 132 ;
133 method test() → void { 133 method test() → void {
134 core::int v1 = let final dynamic #t209 = "x" in let final dynamic #t210 = se lf::getInt() in let final dynamic #t211 = super.{self::Base::[]=}(#t209, #t210) in #t210; 134 core::int v1 = let final dynamic #t209 = "x" in let final dynamic #t210 = se lf::getInt() in let final dynamic #t211 = super.{self::Base::[]=}(#t209, #t210) in #t210;
135 core::num v2 = let final dynamic #t212 = "x" in let final dynamic #t213 = se lf::getNum() in let final dynamic #t214 = super.{self::Base::[]=}(#t212, #t213) in #t213; 135 core::num v2 = let final dynamic #t212 = "x" in let final dynamic #t213 = se lf::getNum() in let final dynamic #t214 = super.{self::Base::[]=}(#t212, #t213) in #t213;
136 core::double v3 = let final dynamic #t215 = "x" in let final dynamic #t216 = self::getDouble() in let final dynamic #t217 = super.{self::Base::[]=}(#t215, # t216) in #t216; 136 core::double v3 = let final dynamic #t215 = "x" in let final dynamic #t216 = self::getDouble() in let final dynamic #t217 = super.{self::Base::[]=}(#t215, # t216) in #t216;
137 core::num v4 = let final dynamic #t218 = "x" in let final dynamic #t219 = su per.{self::Base::[]}(#t218) in #t219.{core::num::==}(null) ?{dynamic} let final dynamic #t220 = self::getInt() in let final dynamic #t221 = super.{self::Base::[ ]=}(#t218, #t220) in #t220 : #t219; 137 core::num v4 = let final dynamic #t218 = "x" in let final dynamic #t219 = su per.{self::Base::[]}(#t218) in #t219.{core::num::==}(null) ? let final dynamic # t220 = self::getInt() in let final dynamic #t221 = super.{self::Base::[]=}(#t218 , #t220) in #t220 : #t219;
138 core::num v5 = let final dynamic #t222 = "x" in let final dynamic #t223 = su per.{self::Base::[]}(#t222) in #t223.{core::num::==}(null) ?{dynamic} let final dynamic #t224 = self::getNum() in let final dynamic #t225 = super.{self::Base::[ ]=}(#t222, #t224) in #t224 : #t223; 138 core::num v5 = let final dynamic #t222 = "x" in let final dynamic #t223 = su per.{self::Base::[]}(#t222) in #t223.{core::num::==}(null) ? let final dynamic # t224 = self::getNum() in let final dynamic #t225 = super.{self::Base::[]=}(#t222 , #t224) in #t224 : #t223;
139 core::num v6 = let final dynamic #t226 = "x" in let final dynamic #t227 = su per.{self::Base::[]}(#t226) in #t227.{core::num::==}(null) ?{dynamic} let final dynamic #t228 = self::getDouble() in let final dynamic #t229 = super.{self::Base ::[]=}(#t226, #t228) in #t228 : #t227; 139 core::num v6 = let final dynamic #t226 = "x" in let final dynamic #t227 = su per.{self::Base::[]}(#t226) in #t227.{core::num::==}(null) ? let final dynamic # t228 = self::getDouble() in let final dynamic #t229 = super.{self::Base::[]=}(#t 226, #t228) in #t228 : #t227;
140 core::num v7 = let final dynamic #t230 = "x" in let final dynamic #t231 = su per.{self::Base::[]}(#t230).{core::num::+}(self::getInt()) in let final dynamic #t232 = super.{self::Base::[]=}(#t230, #t231) in #t231; 140 core::num v7 = let final dynamic #t230 = "x" in let final dynamic #t231 = su per.{self::Base::[]}(#t230).{core::num::+}(self::getInt()) in let final dynamic #t232 = super.{self::Base::[]=}(#t230, #t231) in #t231;
141 core::num v8 = let final dynamic #t233 = "x" in let final dynamic #t234 = su per.{self::Base::[]}(#t233).{core::num::+}(self::getNum()) in let final dynamic #t235 = super.{self::Base::[]=}(#t233, #t234) in #t234; 141 core::num v8 = let final dynamic #t233 = "x" in let final dynamic #t234 = su per.{self::Base::[]}(#t233).{core::num::+}(self::getNum()) in let final dynamic #t235 = super.{self::Base::[]=}(#t233, #t234) in #t234;
142 core::num v9 = let final dynamic #t236 = "x" in let final dynamic #t237 = su per.{self::Base::[]}(#t236).{core::num::+}(self::getDouble()) in let final dynam ic #t238 = super.{self::Base::[]=}(#t236, #t237) in #t237; 142 core::num v9 = let final dynamic #t236 = "x" in let final dynamic #t237 = su per.{self::Base::[]}(#t236).{core::num::+}(self::getDouble()) in let final dynam ic #t238 = super.{self::Base::[]=}(#t236, #t237) in #t237;
143 core::num v10 = let final dynamic #t239 = "x" in let final dynamic #t240 = s uper.{self::Base::[]}(#t239).{core::num::+}(1) in let final dynamic #t241 = supe r.{self::Base::[]=}(#t239, #t240) in #t240; 143 core::num v10 = let final dynamic #t239 = "x" in let final dynamic #t240 = s uper.{self::Base::[]}(#t239).{core::num::+}(1) in let final dynamic #t241 = supe r.{self::Base::[]=}(#t239, #t240) in #t240;
144 core::num v11 = let final dynamic #t242 = "x" in let final dynamic #t243 = s uper.{self::Base::[]}(#t242) in let final dynamic #t244 = super.{self::Base::[]= }(#t242, #t243.{core::num::+}(1)) in #t243; 144 core::num v11 = let final dynamic #t242 = "x" in let final dynamic #t243 = s uper.{self::Base::[]}(#t242) in let final dynamic #t244 = super.{self::Base::[]= }(#t242, #t243.{core::num::+}(1)) in #t243;
145 } 145 }
146 } 146 }
147 abstract class Test9 extends self::Base<core::double, core::double> { 147 abstract class Test9 extends self::Base<core::double, core::double> {
148 constructor •() → void 148 constructor •() → void
149 : super self::Base::•() 149 : super self::Base::•()
150 ; 150 ;
151 method test() → void { 151 method test() → void {
152 core::num v2 = let final dynamic #t245 = "x" in let final dynamic #t246 = se lf::getNum() in let final dynamic #t247 = super.{self::Base::[]=}(#t245, #t246) in #t246; 152 core::num v2 = let final dynamic #t245 = "x" in let final dynamic #t246 = se lf::getNum() in let final dynamic #t247 = super.{self::Base::[]=}(#t245, #t246) in #t246;
153 core::double v3 = let final dynamic #t248 = "x" in let final dynamic #t249 = self::getDouble() in let final dynamic #t250 = super.{self::Base::[]=}(#t248, # t249) in #t249; 153 core::double v3 = let final dynamic #t248 = "x" in let final dynamic #t249 = self::getDouble() in let final dynamic #t250 = super.{self::Base::[]=}(#t248, # t249) in #t249;
154 core::num v5 = let final dynamic #t251 = "x" in let final dynamic #t252 = su per.{self::Base::[]}(#t251) in #t252.{core::num::==}(null) ?{dynamic} let final dynamic #t253 = self::getNum() in let final dynamic #t254 = super.{self::Base::[ ]=}(#t251, #t253) in #t253 : #t252; 154 core::num v5 = let final dynamic #t251 = "x" in let final dynamic #t252 = su per.{self::Base::[]}(#t251) in #t252.{core::num::==}(null) ? let final dynamic # t253 = self::getNum() in let final dynamic #t254 = super.{self::Base::[]=}(#t251 , #t253) in #t253 : #t252;
155 core::double v6 = let final dynamic #t255 = "x" in let final dynamic #t256 = super.{self::Base::[]}(#t255) in #t256.{core::num::==}(null) ?{dynamic} let fin al dynamic #t257 = self::getDouble() in let final dynamic #t258 = super.{self::B ase::[]=}(#t255, #t257) in #t257 : #t256; 155 core::double v6 = let final dynamic #t255 = "x" in let final dynamic #t256 = super.{self::Base::[]}(#t255) in #t256.{core::num::==}(null) ? let final dynami c #t257 = self::getDouble() in let final dynamic #t258 = super.{self::Base::[]=} (#t255, #t257) in #t257 : #t256;
156 core::double v7 = let final dynamic #t259 = "x" in let final dynamic #t260 = super.{self::Base::[]}(#t259).{core::double::+}(self::getInt()) in let final dy namic #t261 = super.{self::Base::[]=}(#t259, #t260) in #t260; 156 core::double v7 = let final dynamic #t259 = "x" in let final dynamic #t260 = super.{self::Base::[]}(#t259).{core::double::+}(self::getInt()) in let final dy namic #t261 = super.{self::Base::[]=}(#t259, #t260) in #t260;
157 core::double v8 = let final dynamic #t262 = "x" in let final dynamic #t263 = super.{self::Base::[]}(#t262).{core::double::+}(self::getNum()) in let final dy namic #t264 = super.{self::Base::[]=}(#t262, #t263) in #t263; 157 core::double v8 = let final dynamic #t262 = "x" in let final dynamic #t263 = super.{self::Base::[]}(#t262).{core::double::+}(self::getNum()) in let final dy namic #t264 = super.{self::Base::[]=}(#t262, #t263) in #t263;
158 core::double v9 = let final dynamic #t265 = "x" in let final dynamic #t266 = super.{self::Base::[]}(#t265).{core::double::+}(self::getDouble()) in let final dynamic #t267 = super.{self::Base::[]=}(#t265, #t266) in #t266; 158 core::double v9 = let final dynamic #t265 = "x" in let final dynamic #t266 = super.{self::Base::[]}(#t265).{core::double::+}(self::getDouble()) in let final dynamic #t267 = super.{self::Base::[]=}(#t265, #t266) in #t266;
159 core::double v10 = let final dynamic #t268 = "x" in let final dynamic #t269 = super.{self::Base::[]}(#t268).{core::double::+}(1) in let final dynamic #t270 = super.{self::Base::[]=}(#t268, #t269) in #t269; 159 core::double v10 = let final dynamic #t268 = "x" in let final dynamic #t269 = super.{self::Base::[]}(#t268).{core::double::+}(1) in let final dynamic #t270 = super.{self::Base::[]=}(#t268, #t269) in #t269;
160 core::double v11 = let final dynamic #t271 = "x" in let final dynamic #t272 = super.{self::Base::[]}(#t271) in let final dynamic #t273 = super.{self::Base:: []=}(#t271, #t272.{core::double::+}(1)) in #t272; 160 core::double v11 = let final dynamic #t271 = "x" in let final dynamic #t272 = super.{self::Base::[]}(#t271) in let final dynamic #t273 = super.{self::Base:: []=}(#t271, #t272.{core::double::+}(1)) in #t272;
161 } 161 }
162 } 162 }
163 static method getInt() → core::int 163 static method getInt() → core::int
164 return 0; 164 return 0;
165 static method getNum() → core::num 165 static method getNum() → core::num
166 return 0; 166 return 0;
167 static method getDouble() → core::double 167 static method getDouble() → core::double
168 return 0.0; 168 return 0.0;
169 static method main() → dynamic {} 169 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698