Modifiers checks were moved to DeclarationsChecker; added 'open' modifier checks
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
open trait A {
|
||||
trait A {
|
||||
fun foo() {}
|
||||
}
|
||||
open trait B : A, <error>E</error> {}
|
||||
open trait C : B {}
|
||||
open trait D : <error>B</error> {}
|
||||
open trait E : <error>F</error> {}
|
||||
open trait F : <error>D</error>, C {}
|
||||
open trait G : F {}
|
||||
open trait H : F {}
|
||||
trait B : A, <error>E</error> {}
|
||||
trait C : B {}
|
||||
trait D : <error>B</error> {}
|
||||
trait E : <error>F</error> {}
|
||||
trait F : <error>D</error>, C {}
|
||||
trait G : F {}
|
||||
trait H : F {}
|
||||
|
||||
val a : A? = null
|
||||
val b : B? = null
|
||||
|
||||
Reference in New Issue
Block a user