blob: 31492ae1308387d89a22ccf46c86ce0881a88c6e [file] [log] [blame]
library test;
abstract class I<T> {
Object get y;
T get x;
void set x(T value);
void set y(covariant Object value);
}
class B {
int get x {}
int get y {}
void set x(int value) {}
void set y(int value) {}
}
class C = B with M implements I<int>;
class M {
int x;
int y;
}
void expect(Object value, Object expected) {}
void expectTypeError(void callback()) {}
void main() {}
void test(I<Object> i) {}