dfd9aabf8e
#KT-61514 Fixed
25 lines
369 B
Kotlin
Vendored
25 lines
369 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
|
|
typealias Some = (Any) -> String?
|
|
|
|
object Factory {
|
|
fun foo(
|
|
a: String,
|
|
): String = "Alpha"
|
|
|
|
fun foo(
|
|
a: String,
|
|
f: Some
|
|
): String = "Omega"
|
|
}
|
|
|
|
interface Base
|
|
|
|
interface Delegate : Base {
|
|
fun bar()
|
|
}
|
|
|
|
interface Derived : Delegate
|
|
|
|
data class DataClass(val delegate: Delegate): Derived, Delegate by delegate
|