blob: fa6176d507b15cd31c1a4ebfd49375190f420931 [file] [log] [blame]
// @dart = 2.9
library test;
import 'dart:async';
class MyFuture<T> implements Future<T> {
MyFuture() {}
MyFuture.value(T x) {}
dynamic noSuchMethod(invocation) => null;
MyFuture<S> then<S>(FutureOr<S> f(T x), {Function onError}) => null;
}
void test() {}
main() {}