| library; |
| import self as self; |
| import "dart:core" as core; |
| import "dart:async" as asy; |
| |
| import "dart:async"; |
| |
| class X extends core::Object { |
| final field dynamic x; |
| final field dynamic y; |
| constructor •(dynamic x, dynamic y) → self::X* |
| : self::X::x = x, self::X::y = y, super core::Object::•() |
| ; |
| method toString() → core::String* |
| return "X(${this.{self::X::x}{dynamic}}, ${this.{self::X::y}{dynamic}})"; |
| 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 noSuchMethod(core::Invocation* invocation) → dynamic; -> core::Object::noSuchMethod |
| abstract member-signature get runtimeType() → core::Type*; -> core::Object::runtimeType |
| } |
| class Y extends core::Object { |
| synthetic constructor •() → self::Y* |
| : super core::Object::•() |
| ; |
| method f(dynamic _) → dynamic {} |
| 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 method noSuchMethod(core::Invocation* invocation) → dynamic; -> core::Object::noSuchMethod |
| abstract member-signature get runtimeType() → core::Type*; -> core::Object::runtimeType |
| } |
| static method f1() → asy::Future<core::List<core::Object*>*>* async { |
| return <core::Object*>[1]; |
| } |
| static method f2() → core::List<core::Object*>* |
| return <core::Object*>[2]; |
| static method f3() → asy::Future<core::Object*>* async { |
| return 3; |
| } |
| static method foo() → asy::Future<self::X*>* async { |
| return new self::X::•(let final self::Y* #t1 = new self::Y::•() in block { |
| #t1.{self::Y::f}(await self::f1()){(dynamic) →* dynamic}; |
| #t1.{self::Y::f}(self::f2()){(dynamic) →* dynamic}; |
| } =>#t1, await self::f3()); |
| } |
| static method main() → asy::Future<void>* async { |
| core::print(await self::foo()); |
| } |