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