blob: 3e1bb003a0bbabec58a43fcb6b83eb25a3c367ea [file] [log] [blame]
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() {}
errors() {}
testNonStruct() {}