[tests] Remove analyzer MIXIN_INHERITS_FROM_NOT_OBJECT from language/mixin* tests
Bug: https://github.com/dart-lang/co19/issues/3281 Change-Id: I19f02b8e36aa85b18ff802a33a5b5851acce989d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445982 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Erik Ernst <eernst@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
This commit is contained in:
committed by
Commit Queue
parent
1832bd5c86
commit
8f3035707f
@@ -16,7 +16,7 @@ class C2 = S with C2;
|
||||
// [analyzer] COMPILE_TIME_ERROR.RECURSIVE_INTERFACE_INHERITANCE
|
||||
// [cfe] 'C2' is a supertype of itself.
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_INHERITS_FROM_NOT_OBJECT
|
||||
// [analyzer] COMPILE_TIME_ERROR.CLASS_USED_AS_MIXIN
|
||||
class C3 = S with M implements A;
|
||||
class C4 = S with M implements C4;
|
||||
// ^^
|
||||
|
||||
@@ -11,8 +11,6 @@ mixin class M0 extends Object with M0 {}
|
||||
// [cfe] 'Object with M0' is a supertype of itself.
|
||||
// ^^^^^^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_CLASS_DECLARATION_EXTENDS_NOT_OBJECT
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_INHERITS_FROM_NOT_OBJECT
|
||||
|
||||
mixin class M1 = Object with M1;
|
||||
// ^^
|
||||
@@ -48,8 +46,6 @@ mixin class M7 extends Object with M8 {}
|
||||
// [cfe] 'Object with M8' is a supertype of itself.
|
||||
// ^^^^^^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_CLASS_DECLARATION_EXTENDS_NOT_OBJECT
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_INHERITS_FROM_NOT_OBJECT
|
||||
|
||||
mixin class M8 extends Object with M7 {}
|
||||
// ^^
|
||||
@@ -58,8 +54,6 @@ mixin class M8 extends Object with M7 {}
|
||||
// [cfe] 'Object with M7' is a supertype of itself.
|
||||
// ^^^^^^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_CLASS_DECLARATION_EXTENDS_NOT_OBJECT
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_INHERITS_FROM_NOT_OBJECT
|
||||
|
||||
class M9 = Object with M91;
|
||||
// ^
|
||||
|
||||
@@ -17,8 +17,7 @@ class C2 = S with C2;
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.RECURSIVE_INTERFACE_INHERITANCE
|
||||
// [cfe] 'C2' is a supertype of itself.
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_INHERITS_FROM_NOT_OBJECT
|
||||
|
||||
class C3 = S with M implements A;
|
||||
class C4 = S with M implements C4;
|
||||
// ^^
|
||||
|
||||
@@ -11,8 +11,6 @@ class M0 extends Object with M0 {}
|
||||
// [analyzer] COMPILE_TIME_ERROR.RECURSIVE_INTERFACE_INHERITANCE
|
||||
// [cfe] 'M0' is a supertype of itself.
|
||||
// [cfe] 'Object with M0' is a supertype of itself.
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_INHERITS_FROM_NOT_OBJECT
|
||||
|
||||
class M1 = Object with M1;
|
||||
// ^^
|
||||
@@ -46,16 +44,12 @@ class M7 extends Object with M8 {}
|
||||
// [analyzer] COMPILE_TIME_ERROR.RECURSIVE_INTERFACE_INHERITANCE
|
||||
// [cfe] 'M7' is a supertype of itself.
|
||||
// [cfe] 'Object with M8' is a supertype of itself.
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_INHERITS_FROM_NOT_OBJECT
|
||||
|
||||
class M8 extends Object with M7 {}
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.RECURSIVE_INTERFACE_INHERITANCE
|
||||
// [cfe] 'M8' is a supertype of itself.
|
||||
// [cfe] 'Object with M7' is a supertype of itself.
|
||||
// ^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.MIXIN_INHERITS_FROM_NOT_OBJECT
|
||||
|
||||
class M9 = Object with M91;
|
||||
// ^
|
||||
|
||||
Reference in New Issue
Block a user