blob: e845441f2e0a4e4f105c992c4e3a799e87353144 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
static method test(dynamic x) dynamic {
#L1:
{
final synthesized dynamic #0#0 = x;
synthesized core::int? #0#4;
synthesized core::bool #0#4#isSet = false;
synthesized core::int? #0#9;
synthesized core::bool #0#9#isSet = false;
{
if(#0#0 is core::Map<core::String, core::int> && (!((#0#4#isSet ?{core::int?} #0#4{core::int?} : let final core::bool* #t1 = #0#4#isSet = true in #0#4 = #0#0{core::Map<core::String, core::int>}.{core::Map::[]}(#C1){(core::Object?) → core::int?}) == null) || null is core::int && #0#0{core::Map<core::String, core::int>}.{core::Map::containsKey}(#C1){(core::Object?) → core::bool}) && #C2 =={core::num::==}{(core::Object) → core::bool} (let core::int? #t2 = #0#4#isSet ?{core::int?} #0#4{core::int?} : let final core::bool* #t3 = #0#4#isSet = true in #0#4 = #0#0{core::Map<core::String, core::int>}.{core::Map::[]}(#C1){(core::Object?) → core::int?} in #t2 == null ?{core::int} #t2 as{Unchecked} core::int : #t2{core::int}) && (!((#0#9#isSet ?{core::int?} #0#9{core::int?} : let final core::bool* #t4 = #0#9#isSet = true in #0#9 = #0#0{core::Map<core::String, core::int>}.{core::Map::[]}(#C3){(core::Object?) → core::int?}) == null) || null is core::int && #0#0{core::Map<core::String, core::int>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool}) && #C4 =={core::num::==}{(core::Object) → core::bool} (let core::int? #t5 = #0#9#isSet ?{core::int?} #0#9{core::int?} : let final core::bool* #t6 = #0#9#isSet = true in #0#9 = #0#0{core::Map<core::String, core::int>}.{core::Map::[]}(#C3){(core::Object?) → core::int?} in #t5 == null ?{core::int} #t5 as{Unchecked} core::int : #t5{core::int})) {
{
break #L1;
}
}
}
}
}
constants {
#C1 = "a"
#C2 = 1
#C3 = "b"
#C4 = 2
}
Extra constant evaluation status:
Evaluated: LogicalExpression @ org-dartlang-testcase:///map_pattern_inside_case_with_type_arguments.dart:7:27 -> BoolConstant(false)
Evaluated: LogicalExpression @ org-dartlang-testcase:///map_pattern_inside_case_with_type_arguments.dart:7:35 -> BoolConstant(false)
Extra constant evaluation: evaluated: 63, effectively constant: 2