blob: e5e025e982de0f470e00192e2ce77da7448f284d [file] [log] [blame]
// @dart = 2.9
library test;
typedef void F<T>(T x);
class B<T, U extends F<T>> {
B<T, F<T>> operator +(other) => null;
}
class C {
B<num, F<num>> x;
static B<num, F<num>> y;
B<num, F<num>> operator [](int i) => null;
void operator []=(int i, B<num, F<num>> v) {}
}
void test1(B<num, F<num>> b) {}
void test2(C c) {}
void test3(C c) {}
void test4(C c) {}
void main() {}