Files
kotlin-fork/j2k/testData/fileOrElement/nullability/OverrideWithInheritanceLoop.kt
T
Alexander Udalov 3c859caf2b j2k: flatten test cases and testData directory structure
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
2015-01-03 00:52:59 +03:00

12 lines
271 B
Kotlin

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