mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
10 lines
146 B
Kotlin
10 lines
146 B
Kotlin
class C() {
|
|
fun getInstance(): Runnable = C
|
|
|
|
default object: Runnable {
|
|
override fun run(): Unit { }
|
|
}
|
|
}
|
|
|
|
fun foo() = C().getInstance()
|