blob: 531702e7e99d1c7ab16e452a7691c2a340d1421c [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
static final field core::bool inSoundMode = !(<core::int?>[] is{ForNonNullableByDefault} core::List<core::int>);
static method main() dynamic {
try {
throw (null as{ForNonNullableByDefault} dynamic) as{TypeError,ForNonNullableByDefault} core::Object;
}
on core::TypeError catch(final core::TypeError e) {
core::print("${e.{core::Object::runtimeType}{core::Type}}:${e}");
}
}
Extra constant evaluation status:
Evaluated: AsExpression @ org-dartlang-testcase:///issue49198.dart:9:16 -> NullConstant(null)
Extra constant evaluation: evaluated: 11, effectively constant: 1