Files
kotlin-fork/j2k/testData/fileOrElement/nullability/OverrideWithInheritanceLoop.kt
T
2016-12-14 13:35:31 +03:00

10 lines
265 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) {}
}