Files
kotlin-fork/compiler/testData/diagnostics/tests/cyclicHierarchy/kotlinJavaKotlinCycle.reversed.kt
T
Dmitrii Gridin 6170d83301 [FIR] update reversed testData
^KT-56543
2023-04-19 20:12:41 +00:00

21 lines
411 B
Kotlin
Vendored

// LL_FIR_DIVERGENCE
// The compiler doesn't guarantee exhaustiveness in reporting of inheritance cycles, so the compiler and LL FIR results are equally valid.
// LL_FIR_DIVERGENCE
// FILE: I.kt
open class I : <!CYCLIC_INHERITANCE_HIERARCHY!>K<!>() {
fun foo() {}
}
// FILE: J.java
class J extends I {
void bar() {}
}
// FILE: K.kt
open class K : <!EXPOSED_SUPER_CLASS!>J<!>() {
fun baz() {}
}