Sign in
dart
/
sdk.git
/
refs/tags/2.14.0-209.0.dev
/
.
/
pkg
/
front_end
/
testcases
/
runtime_checks_new
/
contravariant_index_assign.dart.textual_outline_modelled.expect
blob: c7d65552a4f1ec332ecc2d93524173af287c871a [
file
] [
log
] [
blame
]
// @dart = 2.9
library test
;
class
B
<
T
>
{
B
<
T
>
operator
+(
B
<
T
>
other
)
=>
null
;
}
class
C
<
T
>
{
B
<
F
<
T
>>
operator
[](
int
i
)
=>
null
;
void
operator
[]=(
int
i
,
B
<
F
<
T
>>
x
)
{}
}
main
()
{}
typedef
void
F
<
T
>(
T x
);
void
test
(
C
<num>
c
)
{}