Files

9 lines
129 B
Kotlin
Vendored

interface IFooBar {
fun foo()
val bar: Int
}
class Host {
fun IFooBar.foo() {}
val IFooBar.bar: Int get() = 42
}