library /*isNonNullableByDefault*/; | |
// | |
// Problems in library: | |
// | |
// pkg/front_end/testcases/general/issue48919.dart:6:16: Error: Can't use a function type as supertype. | |
// class A = void Function() with M; | |
// ^ | |
// | |
import self as self; | |
import "dart:core" as core; | |
abstract class M extends core::Object /*isMixinDeclaration*/ { | |
} | |
class A = core::Object with self::M /*hasConstConstructor*/ { | |
const synthetic constructor •() → self::A | |
: super core::Object::•() | |
; | |
} | |
static method main() → dynamic {} |