Files
kotlin-fork/j2k/testData/fileOrElement/nullability/OverrideWithInheritanceLoop.kt
T
2015-09-18 15:44:18 +03:00

12 lines
275 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) {
}
}