Files
kotlin-fork/nj2k/testData/newJ2k/nullability/OverrideWithInheritanceLoop.kt
T
2019-04-03 11:24:19 +03:00

10 lines
267 B
Kotlin
Vendored

// ERROR: There's a cycle in the inheritance hierarchy for this type
// ERROR: There's a cycle in the inheritance hierarchy for this type
internal open class A : B() {
open fun foo(s: String?) {}
}
internal open class B : A() {
open fun foo(s: String?) {}
}