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) {}