blob: 46255cb1bd76c734cc9890af485abb0e1fa97d72 [file] [log] [blame]
T id<T>(T t) => t;
typedef IntFn = int Function(int);
typedef TFn = T Function<T>(T);
abstract class CompareBase {
operator <(IntFn f);
}
class Compare extends CompareBase {
@override
operator <(Object f) => f is TFn;
}
test1(CompareBase x) {}
main() {}