Files
kotlin-fork/analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/delegationToLibraryInterface.kt
T
2023-12-28 08:48:08 +00:00

16 lines
410 B
Kotlin
Vendored

// IGNORE_FE10
// KT-64503
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
interface KotlinForDelegationInterface {
fun justFun()
}
open class KotlinAbsImplKtInterface(val delegate: KotlinForDelegationInterface) : KotlinForDelegationInterface by delegate
// MODULE: main(lib)
// FILE: usage.kt
class UseLibDelegate(private val b: KotlinForDelegationInterface) : KotlinAbsImplKtInterface(b)