blob: d0e8485fa68b84a9a72de192d9d38fd212f726e8 [file] [log] [blame]
class Class {
int field;
int? nullableField;
Class(this.field);
}
extension Extension on Class {
int get simpleSetter => field;
set simpleSetter(int value) {}
int? get simpleNullableSetter => nullableField;
set simpleNullableSetter(int? value) {}
int get mutatingSetter => field;
set mutatingSetter(int value) {}
int get setterWithReturn => field;
set setterWithReturn(int value) {}
int get setterWithClosure => field;
set setterWithClosure(int value) {}
testInternal() {}
}
class GenericClass<T> {}
extension GenericExtension<T> on GenericClass<T> {
set setter(T value) {}
}
main() {}
test(Class c, Class? cn) {}
expect(expected, actual) {}