| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/issue32971.dart:16:24: Error: The class 'M' can't be used as a mixin because it isn't a mixin class nor a mixin. |
| // class A extends B with M {} |
| // ^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| import "package:expect/expect.dart"; |
| |
| abstract class _A&B&M = self::B with self::M /*isAnonymousMixin*/ { |
| synthetic constructor •() → self::_A&B&M |
| : super self::B::•() |
| ; |
| mixin-super-stub method g() → core::bool |
| return super.{self::M::g}(); |
| } |
| class A extends self::_A&B&M { |
| synthetic constructor •() → self::A |
| ; |
| } |
| class B extends core::Object { |
| synthetic constructor •() → self::B |
| ; |
| method f() → core::bool |
| ; |
| } |
| class M extends core::Object { |
| synthetic constructor •() → self::M |
| ; |
| method g() → core::bool |
| ; |
| } |
| static method main() → void |
| ; |