blob: db899519ed5fb88b528aa04fc5f0bef072e163dd [file] [log] [blame]
class NonStruct {}
class Struct {}
class StructA extends Struct {}
class StructB extends Struct {}
errors() {}
extension Extension<T extends Struct?> on T {
T get property => this;
T method() => this;
void set property(T value) {}
}
main() {}
testNonStruct() {}