blob: 50e61e970eec611b3be79ab7a76a8e160152fba2 [file] [log] [blame]
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() {}
Future foo() => new Future<int>.value(1);
main() {}