| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/inline_class_declaration.dart:8:1: Error: This requires the experimental 'inline-class' language feature to be enabled. |
| // Try passing the '--enable-experiment=inline-class' command line option. |
| // inline class Class1 {} |
| // ^^^^^^ |
| // |
| // pkg/front_end/testcases/general/inline_class_declaration.dart:9:1: Error: This requires the experimental 'inline-class' language feature to be enabled. |
| // Try passing the '--enable-experiment=inline-class' command line option. |
| // inline class Class2 = Object with Mixin; |
| // ^^^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| abstract class Mixin extends core::Object /*isMixinDeclaration*/ { |
| } |
| class Class1 extends core::Object { |
| synthetic constructor •() → self::Class1 |
| : super core::Object::•() |
| ; |
| } |
| class Class2 = core::Object with self::Mixin /*hasConstConstructor*/ { |
| const synthetic constructor •() → self::Class2 |
| : super core::Object::•() |
| ; |
| } |