blob: 0322870bd5a205cb83e123e4b3a13e37c6f5e325 [file] [log] [blame]
T top<T>(T value) => value;
class C {
T inst<T>(T value) => value;
static T stat<T>(T value) => value;
void method() {}
}
class D extends C with M {
void method() {}
}
extension Ext on C {
T einst<T>(T value) => value;
static T estat<T>(T value) => value;
void emethod() {}
}
mixin M on C {
T minst<T>(T value) => value;
static T mstat<T>(T value) => value;
void mmethod() {}
}
typedef ListList<T> = List<List<T>>;
void main() {}