blob: a3edf73c851fa888a90e3dbfe8cf636a1a55ca42 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/error_recovery/issue_22313.dart:5:20: Error: Each class definition can have at most one extends clause.
// Try choosing one superclass and define your class to implement (or mix in) the others.
// class Foo extends A, B {
// ^
//
// pkg/front_end/testcases/general/error_recovery/issue_22313.dart:9:11: Error: Expected 'extends' instead of this.
// class Bar extend A, B {
// ^^^^^^
//
// pkg/front_end/testcases/general/error_recovery/issue_22313.dart:9:19: Error: Each class definition can have at most one extends clause.
// Try choosing one superclass and define your class to implement (or mix in) the others.
// class Bar extend A, B {
// ^
//
// pkg/front_end/testcases/general/error_recovery/issue_22313.dart:13:11: Error: Expected 'extends' instead of this.
// class Baz on A, B {
// ^^
//
// pkg/front_end/testcases/general/error_recovery/issue_22313.dart:13:15: Error: Each class definition can have at most one extends clause.
// Try choosing one superclass and define your class to implement (or mix in) the others.
// class Baz on A, B {
// ^
//
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() self::A
;
}
class B extends core::Object {
synthetic constructor •() self::B
;
}
class Foo extends self::A {
constructor •() self::Foo
;
}
class Bar extends core::Object {
constructor •() self::Bar
;
}
class Baz extends core::Object {
constructor •() self::Baz
;
}
static method main() dynamic
;