b7c19384b7
Closes #45700 Change-Id: Ieaab6fff727ba2b7ecf4f02be820dc54fea2a9db Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195903 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
15 lines
360 B
Plaintext
15 lines
360 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
//
|
|
// Problems in library:
|
|
//
|
|
// pkg/front_end/testcases/general/issue45700.dart:5:7: Error: Can't use a function type as supertype.
|
|
// mixin M on Function() {}
|
|
// ^
|
|
//
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
abstract class M extends core::Object /*isMixinDeclaration*/ {
|
|
}
|
|
static method main() → void {}
|