blob: 7b1f078e1aa4cab9bbb6dedf0302965be77cd999 [file] [log] [blame]
extension<R, T> on R Function(T) {
Type get returnType => R;
Type get parameterType => T;
}
class Class<T extends Class<T>> {}
class Subclass extends Class<Subclass> {}
extension<T extends Class<T>> on dynamic Function<S extends T>(T, S) {
Type get parameterType => T;
}
main() {}