| library /*isNonNullableByDefault*/; |
| import self as self; |
| import "dart:core" as core; |
| |
| class E extends core::_Enum /*isEnum*/ { |
| static const field core::List<self::E> values = #C10; |
| enum-element static const field self::E a = #C3; |
| enum-element static const field self::E b = #C6; |
| enum-element static const field self::E c = #C9; |
| const constructor •(core::int #index, core::String #name) → self::E |
| : super core::_Enum::•(#index, #name) |
| ; |
| method _enumToString() → core::String |
| return "E.${this.{core::_Enum::_name}{core::String}}"; |
| } |
| class PrimitiveEquals extends core::Object /*hasConstConstructor*/ { |
| final field core::int field; |
| const constructor •(core::int field) → self::PrimitiveEquals |
| : self::PrimitiveEquals::field = field, super core::Object::•() |
| ; |
| } |
| class NonPrimitiveEquals extends core::Object /*hasConstConstructor*/ { |
| final field core::int field; |
| const constructor •(core::int field) → self::NonPrimitiveEquals |
| : self::NonPrimitiveEquals::field = field, super core::Object::•() |
| ; |
| get hashCode() → core::int |
| return this.{self::NonPrimitiveEquals::field}{core::int}.{core::num::hashCode}{core::int}; |
| operator ==(core::Object other) → core::bool { |
| if(core::identical(this, other)) |
| return true; |
| return other is{ForNonNullableByDefault} self::NonPrimitiveEquals && this.{self::NonPrimitiveEquals::field}{core::int} =={core::num::==}{(core::Object) → core::bool} other{self::NonPrimitiveEquals}.{self::NonPrimitiveEquals::field}{core::int}; |
| } |
| } |
| static method switchStatement(dynamic o) → dynamic { |
| #L1: |
| { |
| final synthesized dynamic #0#0 = o; |
| synthesized core::bool #0#4; |
| synthesized core::bool #0#4#isSet = false; |
| synthesized core::int #0#2; |
| synthesized core::bool #0#2#isSet = false; |
| function ##0#6#initializer() → dynamic |
| return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic}; |
| late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic}; |
| dynamic #t1; |
| { |
| lowered dynamic a#case#0; |
| lowered dynamic a#case#1; |
| if(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t2 = #0#4#isSet = true in #0#4 = (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t3 = #0#2#isSet = true in #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && (let final dynamic #t4 = a#case#0 = #0#6 in true) && a#case#0{dynamic}.>(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t5 = #t1 = a#case#0 in true) || #0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t6 = #0#2#isSet = true in #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C7 && (let final dynamic #t7 = #0#6 in true) && (let final dynamic #t8 = a#case#1 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic} in true) && a#case#1{dynamic}.<(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t9 = #t1 = a#case#1 in true)) { |
| dynamic a = #t1{dynamic}; |
| { |
| core::print(a); |
| break #L1; |
| } |
| } |
| } |
| { |
| dynamic a; |
| if(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t10 = #0#4#isSet = true in #0#4 = (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t11 = #0#2#isSet = true in #0#2 = #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C4){(core::Object?) → core::bool} && (let final dynamic #t12 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C4){(core::Object?) → dynamic} in true)) { |
| { |
| core::print(a); |
| } |
| } |
| } |
| } |
| } |
| static method switchStatementWithLabel(dynamic o) → dynamic { |
| #L2: |
| { |
| final synthesized dynamic #0#0 = o; |
| synthesized core::bool #0#4; |
| synthesized core::bool #0#4#isSet = false; |
| synthesized core::int #0#2; |
| synthesized core::bool #0#2#isSet = false; |
| function ##0#6#initializer() → dynamic |
| return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic}; |
| late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic}; |
| dynamic #t13; |
| { |
| lowered dynamic a#case#0; |
| lowered dynamic a#case#1; |
| if(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t14 = #0#4#isSet = true in #0#4 = (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t15 = #0#2#isSet = true in #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && (let final dynamic #t16 = a#case#0 = #0#6 in true) && a#case#0{dynamic}.>(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t17 = #t13 = a#case#0 in true) || #0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t18 = #0#2#isSet = true in #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C7 && (let final dynamic #t19 = #0#6 in true) && (let final dynamic #t20 = a#case#1 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic} in true) && a#case#1{dynamic}.<(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t21 = #t13 = a#case#1 in true)) { |
| dynamic a = #t13{dynamic}; |
| { |
| core::print(a); |
| break #L2; |
| } |
| } |
| } |
| { |
| dynamic a; |
| if(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t22 = #0#4#isSet = true in #0#4 = (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t23 = #0#2#isSet = true in #0#2 = #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C4){(core::Object?) → core::bool} && (let final dynamic #t24 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C4){(core::Object?) → dynamic} in true)) { |
| { |
| core::print(a); |
| break #L2; |
| } |
| } |
| } |
| { |
| if(#C4 =={core::num::==}{(core::Object) → core::bool} #0#0) { |
| { |
| core::print(1); |
| } |
| } |
| } |
| } |
| } |
| static method switchStatementWithContinue(dynamic o) → dynamic { |
| #L3: |
| { |
| core::int #t25 = -1; |
| final synthesized dynamic #0#0 = o; |
| synthesized core::bool #0#4; |
| synthesized core::bool #0#4#isSet = false; |
| synthesized core::int #0#2; |
| synthesized core::bool #0#2#isSet = false; |
| function ##0#6#initializer() → dynamic |
| return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic}; |
| late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic}; |
| dynamic #t26; |
| #L4: |
| { |
| { |
| lowered dynamic a#case#0; |
| lowered dynamic a#case#1; |
| if(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t27 = #0#4#isSet = true in #0#4 = (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t28 = #0#2#isSet = true in #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && (let final dynamic #t29 = a#case#0 = #0#6 in true) && a#case#0{dynamic}.>(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t30 = #t26 = a#case#0 in true) || #0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t31 = #0#2#isSet = true in #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C7 && (let final dynamic #t32 = #0#6 in true) && (let final dynamic #t33 = a#case#1 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic} in true) && a#case#1{dynamic}.<(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t34 = #t26 = a#case#1 in true)) { |
| dynamic a = #t26{dynamic}; |
| { |
| core::print(a); |
| break #L3; |
| } |
| } |
| } |
| { |
| dynamic a; |
| if(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t35 = #0#4#isSet = true in #0#4 = (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t36 = #0#2#isSet = true in #0#2 = #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C4){(core::Object?) → core::bool} && (let final dynamic #t37 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C4){(core::Object?) → dynamic} in true)) { |
| { |
| core::print(a); |
| #t25 = 0; |
| break #L4; |
| } |
| } |
| } |
| { |
| if(#C1 =={core::num::==}{(core::Object) → core::bool} #0#0) { |
| { |
| core::print(o); |
| break #L3; |
| } |
| } |
| } |
| { |
| if(#C4 =={core::num::==}{(core::Object) → core::bool} #0#0) { |
| #t25 = 0; |
| break #L4; |
| } |
| } |
| { |
| if(#C7 =={core::num::==}{(core::Object) → core::bool} #0#0) { |
| #t25 = 1; |
| break #L4; |
| } |
| } |
| } |
| switch(#t25) { |
| #L5: |
| case #C1: |
| { |
| { |
| core::print(1); |
| continue #L6; |
| } |
| } |
| #L6: |
| case #C4: |
| { |
| { |
| core::print(2); |
| } |
| } |
| } |
| } |
| } |
| static method switchStatementWithContinueNested(dynamic o1, dynamic o2) → dynamic { |
| #L7: |
| { |
| core::int #t38 = -1; |
| final synthesized dynamic #2#0 = o1; |
| synthesized core::bool #2#4; |
| synthesized core::bool #2#4#isSet = false; |
| #L8: |
| { |
| { |
| dynamic a; |
| if(#2#0 is{ForNonNullableByDefault} core::List<dynamic> && (#2#4#isSet ?{core::bool} #2#4{core::bool} : let final core::bool* #t39 = #2#4#isSet = true in #2#4 = #2#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C4) && (let final dynamic #t40 = a = #2#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)) { |
| { |
| core::print(a); |
| break #L7; |
| } |
| } |
| } |
| { |
| dynamic a; |
| if(#2#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && (#2#4#isSet ?{core::bool} #2#4{core::bool} : let final core::bool* #t41 = #2#4#isSet = true in #2#4 = #2#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C4) && #2#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C4){(core::Object?) → core::bool} && (let final dynamic #t42 = a = #2#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C4){(core::Object?) → dynamic} in true)) { |
| { |
| core::print(a); |
| #L9: |
| { |
| core::int #t43 = -1; |
| final synthesized dynamic #0#0 = o2; |
| synthesized core::bool #0#4; |
| synthesized core::bool #0#4#isSet = false; |
| synthesized core::int #0#2; |
| synthesized core::bool #0#2#isSet = false; |
| function ##0#6#initializer() → dynamic |
| return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic}; |
| late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic}; |
| dynamic #t44; |
| #L10: |
| { |
| { |
| lowered dynamic a#case#0; |
| lowered dynamic a#case#1; |
| if(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t45 = #0#4#isSet = true in #0#4 = (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t46 = #0#2#isSet = true in #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && (let final dynamic #t47 = a#case#0 = #0#6 in true) && a#case#0{dynamic}.>(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t48 = #t44 = a#case#0 in true) || #0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t49 = #0#2#isSet = true in #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C7 && (let final dynamic #t50 = #0#6 in true) && (let final dynamic #t51 = a#case#1 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic} in true) && a#case#1{dynamic}.<(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t52 = #t44 = a#case#1 in true)) { |
| dynamic a = #t44{dynamic}; |
| { |
| core::print(a); |
| break #L9; |
| } |
| } |
| } |
| { |
| dynamic a; |
| if(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t53 = #0#4#isSet = true in #0#4 = (#0#2#isSet ?{core::int} #0#2{core::int} : let final core::bool* #t54 = #0#2#isSet = true in #0#2 = #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C4){(core::Object?) → core::bool} && (let final dynamic #t55 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C4){(core::Object?) → dynamic} in true)) { |
| { |
| core::print(a); |
| #t38 = 1; |
| break #L8; |
| } |
| } |
| } |
| { |
| if(#C1 =={core::num::==}{(core::Object) → core::bool} #0#0) { |
| { |
| core::print(o2); |
| #t43 = 0; |
| break #L10; |
| } |
| } |
| } |
| { |
| if(#C4 =={core::num::==}{(core::Object) → core::bool} #0#0) { |
| #t43 = 0; |
| break #L10; |
| } |
| } |
| { |
| if(#C7 =={core::num::==}{(core::Object) → core::bool} #0#0) { |
| #t43 = 1; |
| break #L10; |
| } |
| } |
| } |
| switch(#t43) { |
| #L11: |
| case #C1: |
| { |
| { |
| core::print(1); |
| continue #L12; |
| } |
| } |
| #L12: |
| case #C4: |
| { |
| { |
| core::print(2); |
| #t38 = 0; |
| break #L8; |
| } |
| } |
| } |
| } |
| break #L7; |
| } |
| } |
| } |
| { |
| if(#C1 =={core::num::==}{(core::Object) → core::bool} #2#0) { |
| { |
| core::print(o1); |
| break #L7; |
| } |
| } |
| } |
| { |
| if(#C4 =={core::num::==}{(core::Object) → core::bool} #2#0) { |
| #t38 = 0; |
| break #L8; |
| } |
| } |
| { |
| if(#C7 =={core::num::==}{(core::Object) → core::bool} #2#0) { |
| #t38 = 1; |
| break #L8; |
| } |
| } |
| } |
| switch(#t38) { |
| #L13: |
| case #C1: |
| { |
| { |
| core::print(1); |
| continue #L14; |
| } |
| } |
| #L14: |
| case #C4: |
| { |
| { |
| core::print(2); |
| #L15: |
| { |
| core::int #t56 = -1; |
| final synthesized dynamic #1#0 = o2; |
| synthesized core::bool #1#4; |
| synthesized core::bool #1#4#isSet = false; |
| synthesized core::int #1#2; |
| synthesized core::bool #1#2#isSet = false; |
| function ##1#6#initializer() → dynamic |
| return #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic}; |
| late final synthesized dynamic #1#6 = ##1#6#initializer(){() → dynamic}; |
| dynamic #t57; |
| #L16: |
| { |
| { |
| lowered dynamic a#case#0; |
| lowered dynamic a#case#1; |
| if(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && (#1#4#isSet ?{core::bool} #1#4{core::bool} : let final core::bool* #t58 = #1#4#isSet = true in #1#4 = (#1#2#isSet ?{core::int} #1#2{core::int} : let final core::bool* #t59 = #1#2#isSet = true in #1#2 = #1#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && (let final dynamic #t60 = a#case#0 = #1#6 in true) && a#case#0{dynamic}.>(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t61 = #t57 = a#case#0 in true) || #1#0 is{ForNonNullableByDefault} core::List<dynamic> && (#1#2#isSet ?{core::int} #1#2{core::int} : let final core::bool* #t62 = #1#2#isSet = true in #1#2 = #1#0{core::List<dynamic>}.{core::List::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C7 && (let final dynamic #t63 = #1#6 in true) && (let final dynamic #t64 = a#case#1 = #1#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic} in true) && a#case#1{dynamic}.<(5) as{TypeError,ForNonNullableByDefault} core::bool && (let final dynamic #t65 = #t57 = a#case#1 in true)) { |
| dynamic a = #t57{dynamic}; |
| { |
| core::print(a); |
| break #L15; |
| } |
| } |
| } |
| { |
| dynamic a; |
| if(#1#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && (#1#4#isSet ?{core::bool} #1#4{core::bool} : let final core::bool* #t66 = #1#4#isSet = true in #1#4 = (#1#2#isSet ?{core::int} #1#2{core::int} : let final core::bool* #t67 = #1#2#isSet = true in #1#2 = #1#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int}) =={core::num::==}{(core::Object) → core::bool} #C4) && #1#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C4){(core::Object?) → core::bool} && (let final dynamic #t68 = a = #1#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C4){(core::Object?) → dynamic} in true)) { |
| { |
| core::print(a); |
| continue #L14; |
| } |
| } |
| } |
| { |
| if(#C1 =={core::num::==}{(core::Object) → core::bool} #1#0) { |
| { |
| core::print(o2); |
| #t56 = 0; |
| break #L16; |
| } |
| } |
| } |
| { |
| if(#C4 =={core::num::==}{(core::Object) → core::bool} #1#0) { |
| #t56 = 0; |
| break #L16; |
| } |
| } |
| { |
| if(#C7 =={core::num::==}{(core::Object) → core::bool} #1#0) { |
| #t56 = 1; |
| break #L16; |
| } |
| } |
| } |
| switch(#t56) { |
| #L17: |
| case #C1: |
| { |
| { |
| core::print(1); |
| continue #L18; |
| } |
| } |
| #L18: |
| case #C4: |
| { |
| { |
| core::print(2); |
| continue #L13; |
| } |
| } |
| } |
| } |
| } |
| } |
| } |
| } |
| } |
| static method switchStatementEnum(self::E o) → dynamic { |
| #L19: |
| switch(o) /*isExplicitlyExhaustive*/ { |
| #L20: |
| case #C3: |
| { |
| core::print("a"); |
| break #L19; |
| } |
| #L21: |
| case #C6: |
| { |
| core::print("b"); |
| break #L19; |
| } |
| #L22: |
| case #C9: |
| { |
| core::print("c"); |
| } |
| } |
| } |
| static method switchStatementEnumWithGuard(self::E o) → dynamic { |
| #L23: |
| { |
| final synthesized self::E #0#0 = o; |
| { |
| if(#C3 =={core::Object::==}{(core::Object) → core::bool} #0#0 && true) { |
| { |
| core::print("a"); |
| break #L23; |
| } |
| } |
| } |
| { |
| if(#C6 =={core::Object::==}{(core::Object) → core::bool} #0#0) { |
| { |
| core::print("b"); |
| break #L23; |
| } |
| } |
| } |
| { |
| if(true) { |
| } |
| } |
| } |
| } |
| static method switchStatementEnumWithLabel(self::E o) → dynamic { |
| #L24: |
| switch(o) /*isExplicitlyExhaustive*/ { |
| #L25: |
| case #C3: |
| { |
| core::print("a"); |
| break #L24; |
| } |
| #L26: |
| case #C6: |
| { |
| core::print("b"); |
| break #L24; |
| } |
| #L27: |
| case #C9: |
| { |
| core::print("c"); |
| } |
| } |
| } |
| static method switchStatementEnumWithContinue(self::E o) → dynamic { |
| #L28: |
| switch(o) /*isExplicitlyExhaustive*/ { |
| #L29: |
| case #C3: |
| { |
| core::print("a"); |
| continue #L30; |
| } |
| #L30: |
| case #C6: |
| { |
| core::print("b"); |
| continue #L31; |
| } |
| #L31: |
| case #C9: |
| { |
| core::print("c"); |
| } |
| } |
| } |
| static method switchStatementPrimitiveEquals(dynamic o) → dynamic { |
| #L32: |
| switch(o) { |
| #L33: |
| case #C11: |
| { |
| core::print("a"); |
| break #L32; |
| } |
| #L34: |
| case #C12: |
| { |
| core::print("b"); |
| } |
| } |
| } |
| static method switchStatementNonPrimitiveEquals(dynamic o) → dynamic { |
| #L35: |
| { |
| final synthesized dynamic #0#0 = o; |
| { |
| if(#C13 =={self::NonPrimitiveEquals::==}{(core::Object) → core::bool} #0#0) { |
| { |
| core::print("a"); |
| break #L35; |
| } |
| } |
| } |
| { |
| if(#C14 =={self::NonPrimitiveEquals::==}{(core::Object) → core::bool} #0#0) { |
| { |
| core::print("b"); |
| } |
| } |
| } |
| } |
| } |
| static method switchExpression(dynamic o) → dynamic { |
| return block { |
| dynamic #t69; |
| final synthesized dynamic #0#0 = o; |
| synthesized core::bool #0#4; |
| synthesized core::bool #0#4#isSet = false; |
| #L36: |
| { |
| { |
| dynamic a; |
| if(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t70 = #0#4#isSet = true in #0#4 = #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C4) && (let final dynamic #t71 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)) { |
| #t69 = a; |
| break #L36; |
| } |
| } |
| { |
| dynamic a; |
| if(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && (#0#4#isSet ?{core::bool} #0#4{core::bool} : let final core::bool* #t72 = #0#4#isSet = true in #0#4 = #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C4) && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C4){(core::Object?) → core::bool} && (let final dynamic #t73 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C4){(core::Object?) → dynamic} in true)) { |
| #t69 = a; |
| break #L36; |
| } |
| } |
| { |
| if(true) { |
| #t69 = null; |
| break #L36; |
| } |
| } |
| } |
| } =>#t69; |
| } |
| static method switchExpressionEnum(self::E o) → dynamic { |
| return block { |
| core::int #t74; |
| #L37: |
| switch(o) /*isExplicitlyExhaustive*/ { |
| #L38: |
| case #C3: |
| { |
| #t74 = 0; |
| break #L37; |
| } |
| #L39: |
| case #C6: |
| { |
| #t74 = 1; |
| break #L37; |
| } |
| #L40: |
| case #C9: |
| { |
| #t74 = 2; |
| break #L37; |
| } |
| } |
| } =>#t74; |
| } |
| static method switchExpressionEnumWithGuard(self::E o) → dynamic { |
| return block { |
| core::int #t75; |
| final synthesized self::E #0#0 = o; |
| #L41: |
| { |
| { |
| if(#C3 =={core::Object::==}{(core::Object) → core::bool} #0#0 && true) { |
| #t75 = 0; |
| break #L41; |
| } |
| } |
| { |
| if(#C6 =={core::Object::==}{(core::Object) → core::bool} #0#0) { |
| #t75 = 1; |
| break #L41; |
| } |
| } |
| { |
| if(true) { |
| #t75 = 2; |
| break #L41; |
| } |
| } |
| } |
| } =>#t75; |
| } |
| static method switchExpressionPrimitiveEquals(dynamic o) → dynamic { |
| return block { |
| core::int #t76; |
| final synthesized dynamic #0#0 = o; |
| #L42: |
| { |
| { |
| if(#C11 =={core::Object::==}{(core::Object) → core::bool} #0#0) { |
| #t76 = 0; |
| break #L42; |
| } |
| } |
| { |
| if(#C12 =={core::Object::==}{(core::Object) → core::bool} #0#0) { |
| #t76 = 1; |
| break #L42; |
| } |
| } |
| { |
| if(true) { |
| #t76 = 2; |
| break #L42; |
| } |
| } |
| } |
| } =>#t76; |
| } |
| static method switchExpressionNonPrimitiveEquals(dynamic o) → dynamic { |
| return block { |
| core::int #t77; |
| final synthesized dynamic #0#0 = o; |
| #L43: |
| { |
| { |
| if(#C13 =={self::NonPrimitiveEquals::==}{(core::Object) → core::bool} #0#0) { |
| #t77 = 0; |
| break #L43; |
| } |
| } |
| { |
| if(#C14 =={self::NonPrimitiveEquals::==}{(core::Object) → core::bool} #0#0) { |
| #t77 = 1; |
| break #L43; |
| } |
| } |
| { |
| if(true) { |
| #t77 = 2; |
| break #L43; |
| } |
| } |
| } |
| } =>#t77; |
| } |
| static method switchStatementSymbol(core::Symbol s) → dynamic { |
| #L44: |
| { |
| final synthesized core::Symbol #0#0 = s; |
| { |
| if(#C15 =={core::Symbol::==}{(core::Object) → core::bool} #0#0) { |
| { |
| return 0; |
| } |
| } |
| } |
| { |
| if(#C16 =={core::Symbol::==}{(core::Object) → core::bool} #0#0) { |
| { |
| return 1; |
| } |
| } |
| } |
| { |
| { |
| { |
| return 2; |
| } |
| } |
| } |
| } |
| } |
| static method switchExpressionSymbol(core::Symbol s) → dynamic { |
| return block { |
| core::int #t78; |
| final synthesized core::Symbol #0#0 = s; |
| #L45: |
| { |
| { |
| if(#C15 =={core::Symbol::==}{(core::Object) → core::bool} #0#0) { |
| #t78 = 0; |
| break #L45; |
| } |
| } |
| { |
| if(#C16 =={core::Symbol::==}{(core::Object) → core::bool} #0#0) { |
| #t78 = 1; |
| break #L45; |
| } |
| } |
| { |
| if(true) { |
| #t78 = 2; |
| break #L45; |
| } |
| } |
| } |
| } =>#t78; |
| } |
| |
| constants { |
| #C1 = 0 |
| #C2 = "a" |
| #C3 = self::E {index:#C1, _name:#C2} |
| #C4 = 1 |
| #C5 = "b" |
| #C6 = self::E {index:#C4, _name:#C5} |
| #C7 = 2 |
| #C8 = "c" |
| #C9 = self::E {index:#C7, _name:#C8} |
| #C10 = <self::E>[#C3, #C6, #C9] |
| #C11 = self::PrimitiveEquals {field:#C1} |
| #C12 = self::PrimitiveEquals {field:#C4} |
| #C13 = self::NonPrimitiveEquals {field:#C1} |
| #C14 = self::NonPrimitiveEquals {field:#C4} |
| #C15 = #a |
| #C16 = #b |
| } |
| |
| |
| Constructor coverage from constants: |
| org-dartlang-testcase:///switch_encoding.dart: |
| - E. (from org-dartlang-testcase:///switch_encoding.dart:5:6) |
| - _Enum. (from org-dartlang-sdk:///sdk/lib/core/enum.dart) |
| - Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart) |
| - PrimitiveEquals. (from org-dartlang-testcase:///switch_encoding.dart:10:9) |
| - NonPrimitiveEquals. (from org-dartlang-testcase:///switch_encoding.dart:16:9) |