blob: 25e6f2f3b25864a59c7ab8550d70c8b8216fdb10 [file] [log] [blame]
// @dart = 2.9
library test;
typedef void F<T>(T x);
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) {}
}
void test(C<num> c) {}
main() {}