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