blob: adc99847b681e3ba0f2398c6343ab7b6892506c4 [file] [log] [blame]
class A {
bool operator ==(covariant A other) => true;
}
class B extends A {
bool operator ==(other) => true;
}
class C<T> {
bool operator ==(covariant C<T> other) => true;
}
class D extends C<int> {}
main() {}
testNonNullable(A a, B b, C c_dynamic, C<int> c_int, C<String> c_string, D d) {}
testNullable(
A? a, B? b, C? c_dynamic, C<int>? c_int, C<String>? c_string, D? d) {}