blob: e9ddd5c5cf6b11e2b091341b0964533175eb1235 [file] [log] [blame]
class Class1 {
Class1(this.field);
String toString() => 'Class1($field)';
int field;
}
class Class2 {
Class2(this.field);
String toString() => 'Class2($field)';
int field;
}
expect(expected, actual) {}
extension Extension1 on Class1 {
int method() {}
num genericMethod<T extends num>(T t) {}
}
extension Extension2 on Class2 {
int method() {}
num genericMethod<T extends num>(T t) {}
}
main() {}
testExtension1() {}
testExtension2() {}