| library test; |
| import self as self; |
| import "dart:core" as core; |
| import "dart:async" as asy; |
| |
| import "dart:async"; |
| |
| class MyFuture<T extends core::Object* = dynamic> extends core::Object implements asy::Future<self::MyFuture::T*> { |
| constructor •() → self::MyFuture<self::MyFuture::T*>* |
| ; |
| constructor value(self::MyFuture::T* x) → self::MyFuture<self::MyFuture::T*>* |
| ; |
| method noSuchMethod(core::Invocation* invocation) → dynamic |
| ; |
| method then<S extends core::Object* = dynamic>((self::MyFuture::T*) →* FutureOr<self::MyFuture::then::S*>* f, {core::Function* onError = null}) → self::MyFuture<self::MyFuture::then::S*>* |
| ; |
| abstract member-signature get _identityHashCode() → core::int*; -> core::Object::_identityHashCode |
| abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) → core::bool*; -> core::Object::_instanceOf |
| abstract member-signature method _simpleInstanceOf(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOf |
| abstract member-signature method _simpleInstanceOfTrue(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOfTrue |
| abstract member-signature method _simpleInstanceOfFalse(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOfFalse |
| abstract member-signature operator ==(dynamic other) → core::bool*; -> core::Object::== |
| abstract member-signature get hashCode() → core::int*; -> core::Object::hashCode |
| abstract member-signature method toString() → core::String*; -> core::Object::toString |
| abstract member-signature get runtimeType() → core::Type*; -> core::Object::runtimeType |
| no-such-method-forwarder method catchError(core::Function* onError, {(core::Object*) →* core::bool* test}) → asy::Future<self::MyFuture::T*>* |
| return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withType(#catchError, 0, const <core::Type*>[], core::List::unmodifiable<dynamic>(<dynamic>[onError]), core::Map::unmodifiable<core::Symbol*, dynamic>(<core::Symbol*, dynamic>{#test: test}))){(core::Invocation*) →* dynamic} as{TypeError,ForDynamic} asy::Future<self::MyFuture::T*>*; |
| no-such-method-forwarder method whenComplete(() →* FutureOr<void>* action) → asy::Future<self::MyFuture::T*>* |
| return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withType(#whenComplete, 0, const <core::Type*>[], core::List::unmodifiable<dynamic>(<dynamic>[action]), core::Map::unmodifiable<core::Symbol*, dynamic>(const <core::Symbol*, dynamic>{}))){(core::Invocation*) →* dynamic} as{TypeError,ForDynamic} asy::Future<self::MyFuture::T*>*; |
| no-such-method-forwarder method asStream() → asy::Stream<self::MyFuture::T*>* |
| return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withType(#asStream, 0, const <core::Type*>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol*, dynamic>(const <core::Symbol*, dynamic>{}))){(core::Invocation*) →* dynamic} as{TypeError,ForDynamic} asy::Stream<self::MyFuture::T*>*; |
| no-such-method-forwarder method timeout(core::Duration* timeLimit, {covariant-by-class () →* FutureOr<self::MyFuture::T*>* onTimeout}) → asy::Future<self::MyFuture::T*>* |
| return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withType(#timeout, 0, const <core::Type*>[], core::List::unmodifiable<dynamic>(<dynamic>[timeLimit]), core::Map::unmodifiable<core::Symbol*, dynamic>(<core::Symbol*, dynamic>{#onTimeout: onTimeout}))){(core::Invocation*) →* dynamic} as{TypeError,ForDynamic} asy::Future<self::MyFuture::T*>*; |
| } |
| static method test() → void |
| ; |
| static method main() → dynamic |
| ; |
| |
| |
| Extra constant evaluation status: |
| Evaluated: SymbolLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> SymbolConstant(#catchError) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> ListConstant(const <Type*>[]) |
| Evaluated: SymbolLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> SymbolConstant(#test) |
| Evaluated: SymbolLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> SymbolConstant(#whenComplete) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> ListConstant(const <Type*>[]) |
| Evaluated: MapLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> MapConstant(const <Symbol*, dynamic>{}) |
| Evaluated: SymbolLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> SymbolConstant(#asStream) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> ListConstant(const <Type*>[]) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> ListConstant(const <dynamic>[]) |
| Evaluated: MapLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> MapConstant(const <Symbol*, dynamic>{}) |
| Evaluated: SymbolLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> SymbolConstant(#timeout) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> ListConstant(const <Type*>[]) |
| Evaluated: SymbolLiteral @ org-dartlang-testcase:///future_then_conditional.dart:12:7 -> SymbolConstant(#onTimeout) |
| Extra constant evaluation: evaluated: 46, effectively constant: 13 |