blob: ca3b126ace623349f11ccb6c88fd4db7973d501b [file] [log] [blame]
class C {
final Object? _field;
C([this._field]);
void f([_]) {}
}
void fieldsPromotableWithinCascade(C c) {}
typedef Exactly<T> = T Function(T);
extension StaticType<T> on T {
T expectStaticType<R extends Exactly<T>>() {}
}