blob: 67dde846366983a63ba21271a5fdd5033e5a9814 [file] [log] [blame]
// @dart = 2.9
class NonStruct {}
class Struct {}
class StructA extends Struct {}
class StructB extends Struct {}
extension Extension<T extends Struct> on T {
T get property => this;
T method() => this;
void set property(T value) {}
}
main() {}
testNonStruct() {}