blob: 1f5172d7f4c97899cc8658ed24c4c4a10bd7f1af [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
class C<T extends core::Object? = dynamic> extends core::Object /*hasConstConstructor*/ {
const constructor •() self::C<self::C::T%>
: super core::Object::•()
;
}
static method main() void {
hoisted core::int a1;
{
final synthesized dynamic #0#0 = <self::C<core::String>, core::int>{#C1: 1};
function ##0#3#initializer() → core::int?
return #0#0{core::Map<self::C<core::String>, core::int>}.{core::Map::[]}(#C1){(core::Object?) → core::int?};
late final synthesized core::int? #0#3 = ##0#3#initializer(){() → core::int?};
if(!((!(#0#3 == null) || null is{ForNonNullableByDefault} core::int && #0#0{core::Map<self::C<core::String>, core::int>}.{core::Map::containsKey}(#C1){(core::Object?) → core::bool}) && (let final core::int #t1 = a1 = #0#3{core::int} in true)))
throw new core::StateError::•("Pattern matching error");
}
}
constants {
#C1 = self::C<core::String> {}
}
Extra constant evaluation status:
Evaluated: LogicalExpression @ org-dartlang-testcase:///issue51523.dart:10:17 -> BoolConstant(false)
Extra constant evaluation: evaluated: 16, effectively constant: 1
Constructor coverage from constants:
org-dartlang-testcase:///issue51523.dart:
- C. (from org-dartlang-testcase:///issue51523.dart:6:9)
- Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart)