blob: 0938e854373601859766a2b80e36393beee1fcd5 [file] [log] [blame]
// @dart = 2.9
class Class {
int field;
}
extension Extension on Class {
int get simpleSetter => field;
set simpleSetter(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() {}
expect(expected, actual) {}