Sign in
dart
/
sdk.git
/
refs/tags/2.18.0-72.0.dev
/
.
/
tests
/
language
/
vm
/
exactness
/
future_or_regression_34238_test.dart
blob: 99ed5680ab71709055c6f1894d8987b196651e98 [
file
] [
log
] [
blame
]
import
'dart:async'
;
class
A
{
FutureOr
<
int
?>
x
;
}
Future
<
int
>
foo
()
async
=>
42
;
main
()
{
var
a
=
new
A
();
a
.
x
=
33
;
a
.
x
=
null
;
a
.
x
=
foo
();
}