Files
2024-02-29 10:14:31 +00:00

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