| library /*isNonNullableByDefault*/; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/mixin_class_declaration.dart:5:1: Error: This requires the experimental 'class-modifiers' language feature to be enabled. |
| // Try passing the '--enable-experiment=class-modifiers' command line option. |
| // mixin class A {} |
| // ^^^^^ |
| // |
| // pkg/front_end/testcases/general/mixin_class_declaration.dart:7:10: Error: This requires the experimental 'class-modifiers' language feature to be enabled. |
| // Try passing the '--enable-experiment=class-modifiers' command line option. |
| // abstract mixin class B {} |
| // ^^^^^ |
| // |
| // pkg/front_end/testcases/general/mixin_class_declaration.dart:10:1: Error: This requires the experimental 'class-modifiers' language feature to be enabled. |
| // Try passing the '--enable-experiment=class-modifiers' command line option. |
| // mixin class C = Object with M; |
| // ^^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| class A extends core::Object { |
| synthetic constructor •() → self::A |
| : super core::Object::•() |
| ; |
| } |
| abstract class B extends core::Object { |
| synthetic constructor •() → self::B |
| : super core::Object::•() |
| ; |
| } |
| abstract class M extends core::Object /*isMixinDeclaration*/ { |
| } |
| class C = core::Object with self::M /*hasConstConstructor*/ { |
| const synthetic constructor •() → self::C |
| : super core::Object::•() |
| ; |
| } |