blob: 8dd5449ded58cf47fd7b363d301c121190010767 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general/error_recovery/issue_22313.dart:9: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:13:11: Error: Expected 'extends' instead of this.
// class Bar extend A, B {
// ^^^^^^
//
// pkg/front_end/testcases/general/error_recovery/issue_22313.dart:13: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:17:11: Error: Expected 'extends' instead of this.
// class Baz on A, B {
// ^^
//
// pkg/front_end/testcases/general/error_recovery/issue_22313.dart:17: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
;