FirSupertypesChecker: implement six more diagnostics
This commit is contained in:
@@ -14,7 +14,7 @@ package toplevelObjectDeclarations
|
||||
}
|
||||
}<!>
|
||||
|
||||
object B : A {}
|
||||
object B : <!SINGLETON_IN_SUPERTYPE!>A<!> {}
|
||||
|
||||
val x = A.foo()
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
package toplevelObjectDeclarations
|
||||
|
||||
object CObj {}
|
||||
|
||||
object DOjb : CObj {}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
package toplevelObjectDeclarations
|
||||
|
||||
object CObj {}
|
||||
|
||||
Reference in New Issue
Block a user