Files
2020-03-19 09:51:01 +03:00

10 lines
141 B
Kotlin
Vendored

interface Foo {
fun bar(): Int
}
val x by lazy {
val foo = object : Foo {
override fun bar(): Int = 42
}
foo.bar()
}