Sign in
dart
/
sdk.git
/
refs/tags/2.13.0-140.0.dev
/
.
/
pkg
/
front_end
/
testcases
/
runtime_checks
/
covariant_keyword.dart.textual_outline.expect
blob: ce9426307ebbf2f098556b8ea79d08d87aaec223 [
file
] [
log
] [
blame
]
// @dart = 2.9
library test
;
typedef
F
<
T
>(
T x
);
class
C
{
void
f
(
num x
)
{}
}
class
D
extends
C
{
void
f
(
covariant
int
x
)
{}
}
class
E
extends
D
{
void
f
(
int
x
)
{}
}
void
g1
(
C c
)
{}
F
<num>
g2
(
C c
)
{}
test
()
{}
main
()
{}