| library; |
| import self as self; |
| import "dart:core" as core; |
| |
| class A extends core::Object { |
| final field core::int* x; |
| final field core::int* y; |
| constructor •(core::int* y) → self::A* |
| : self::A::y = y, self::A::x = 42, super core::Object::•() |
| ; |
| method method() → dynamic { |
| core::print("A.method x: ${this.{self::A::x}{core::int*}} y: ${this.{self::A::y}{core::int*}}"); |
| core::print(this); |
| core::print(this.{self::A::runtimeType}{core::Type*}); |
| } |
| 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 |
| } |
| class B extends self::A { |
| constructor •(dynamic x) → self::B* |
| : super self::A::•(x as{TypeError,ForDynamic} core::int*) |
| ; |
| method method() → dynamic { |
| core::print("B.method x: ${this.{self::A::x}{core::int*}} y: ${this.{self::A::y}{core::int*}}"); |
| super.{self::A::method}(); |
| } |
| } |
| static method main() → dynamic { |
| self::A* a = new self::A::•(87); |
| self::B* b = new self::B::•(117); |
| a.{self::A::method}(){() →* dynamic}; |
| b.{self::B::method}(){() →* dynamic}; |
| } |