blob: ee8f9faaef2af974a4ff11cc3c97e9d98c4fd739 [file] [log] [blame]
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) {}