| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general_nnbd_opt_out/constructor_cycle.dart:9:18: Error: Redirecting constructors can't be cyclic. |
| // Try to have all constructors eventually redirect to a non-redirecting constructor. |
| // A.bar() : this.foo(); |
| // ^^^ |
| // |
| // pkg/front_end/testcases/general_nnbd_opt_out/constructor_cycle.dart:11:9: Error: Redirecting constructors can't be cyclic. |
| // Try to have all constructors eventually redirect to a non-redirecting constructor. |
| // A() : this(); |
| // ^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| class A extends core::Object { |
| constructor foo() → self::A* |
| : this self::A::bar() |
| ; |
| constructor bar() → self::A* |
| : this self::A::foo() |
| ; |
| constructor baz() → self::A* |
| : this self::A::foo() |
| ; |
| constructor •() → self::A* |
| : this self::A::•() |
| ; |
| abstract member-signature get _identityHashCode() → core::int*; |
| abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) → core::bool*; |
| abstract member-signature method _simpleInstanceOf(dynamic type) → core::bool*; |
| abstract member-signature method _simpleInstanceOfTrue(dynamic type) → core::bool*; |
| abstract member-signature method _simpleInstanceOfFalse(dynamic type) → core::bool*; |
| abstract member-signature operator ==(dynamic other) → core::bool*; |
| abstract member-signature get hashCode() → core::int*; |
| abstract member-signature method toString() → core::String*; |
| abstract member-signature method noSuchMethod(core::Invocation* invocation) → dynamic; |
| abstract member-signature get runtimeType() → core::Type*; |
| } |
| static method main() → dynamic {} |