Files
2020-12-16 19:52:30 +03:00

12 lines
167 B
Kotlin
Vendored

interface Foo
fun bar() {
object : Foo {
fun foo(): Foo {
return Derived(42)
}
inner class Derived(val x: Int) : Foo
}
}