Sign in
dart
/
sdk
/
2fa89236d7526c2f869748d5bd011079ca78e6db
/
.
/
pkg
/
front_end
/
testcases
/
general
/
error_recovery
/
constructor_recovery_return_type.dart
blob: 404a33d27ba7e4a29be08a4aa9d443bd2550694b [
file
] [
log
] [
blame
]
// @dart=2.9
class
Foo
{
void
Foo
()
{
// Not OK.
}
void
Foo
()
:
initializer
=
true
{
// Not OK.
}
void
Foo
.
x
()
{
// Not OK.
}
void
Foo
.
x
()
:
initializer
=
true
{
// Not OK.
}
}