blob: c47013ad328abece1dc99e5df200032ae3ea6215 [file] [log] [blame]
extension E<T> on T {
T Function(T) get f => (T t) => t;
}
main() {}
method1<S>(S s) {}
method2<S extends dynamic>(S s) {}
throws(void Function() f) {}