blob: 2bad4e832bb2f7e731ea2b84a6fe153a8aa5e4e8 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
import "dart:async" as asy;
class MyFuture<T extends core::Object = dynamic> extends core::Object implements asy::Future<self::MyFuture::T> {
constructor •() void
;
constructor value([dynamic x]) void
;
method noSuchMethod(dynamic invocation) dynamic
;
method then<S extends core::Object = dynamic>((self::MyFuture::T) asy::FutureOr<self::MyFuture::then::S> f, {core::Function onError}) self::MyFuture<self::MyFuture::then::S>
;
abstract no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) core::bool test = null}) asy::Future<self::MyFuture::T>;
abstract no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() asy::FutureOr<dynamic> action) asy::Future<self::MyFuture::T>;
abstract no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() asy::FutureOr<self::MyFuture::T> onTimeout = null}) asy::Future<self::MyFuture::T>;
abstract no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() asy::Stream<self::MyFuture::T>;
}
static field self::MyFuture<dynamic> f;
static field asy::Future<core::int> t1;
static field asy::Future<core::List<core::int>> t2;
static method g2() asy::Future<core::List<core::int>>
;
static method g3() asy::Future<core::List<core::int>>
;
static method main() dynamic
;