blob: 14d2d75aeb90655dba3ed5ea73a92fe9f1275318 [file] [log] [blame]
// @dart = 2.6
class Class {
Class _field;
}
extension Extension on Class {
Class get field => _field;
void set field(Class value) {}
Class method() => field;
Class operator [](Class key) => field;
void operator []=(Class key, Class value) {}
Class operator +(int value) => field;
Class operator -() => field;
}
main() {}
void propertyAccess(Class c) {}
void indexAccess(Class c) {}
void operatorAccess(Class c) {}
void ifNull(Class c) {}
void throws(void Function() f) {}