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