Sign in
dart
/
sdk.git
/
c8c87f40e58cb813420273930760878dc3cc1c23
/
.
/
pkg
/
front_end
/
testcases
/
inference
/
list_literals_can_infer_null_bottom.dart.strong.transformed.expect
blob: dafc04bd41afddd3fef39de1093c3e373be5dcd6 [
file
] [
log
] [
blame
]
library test
;
import
self
as
self
;
import
"dart:core"
as
core
;
static
method test1
()
→
dynamic
{
core
::
List
<
core
::
Null
?>*
x
=
<
core
::
Null
?>[
null
];
x
.{
core
::
List
::
add
}(
42
as
{
TypeError
}
core
::
Null
?);
}
static
method main
()
→
dynamic
{}