| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/multiple_abstract.dart:13:7: Error: The non-abstract class 'Class' is missing implementations for these members: |
| // - Interface1.method |
| // - Interface2.method |
| // Try to either |
| // - provide an implementation, |
| // - inherit an implementation from a superclass or mixin, |
| // - mark the class as abstract, or |
| // - provide a 'noSuchMethod' implementation. |
| // |
| // class Class implements Interface1, Interface2 {} |
| // ^^^^^ |
| // pkg/front_end/testcases/general/multiple_abstract.dart:6:8: Context: 'Interface1.method' is defined here. |
| // void method(); |
| // ^^^^^^ |
| // pkg/front_end/testcases/general/multiple_abstract.dart:10:8: Context: 'Interface2.method' is defined here. |
| // void method(); |
| // ^^^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| abstract class Interface1 extends core::Object { |
| synthetic constructor •() → self::Interface1 |
| : super core::Object::•() |
| ; |
| abstract method method() → void; |
| } |
| abstract class Interface2 extends core::Object { |
| synthetic constructor •() → self::Interface2 |
| : super core::Object::•() |
| ; |
| abstract method method() → void; |
| } |
| class Class extends core::Object implements self::Interface1, self::Interface2 { |
| synthetic constructor •() → self::Class |
| : super core::Object::•() |
| ; |
| } |