mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
16 lines
192 B
Kotlin
16 lines
192 B
Kotlin
class C() {
|
|
default object {
|
|
private fun <T> create() = C()
|
|
}
|
|
|
|
class ZZZ {
|
|
val c = C.create<String>()
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
C.ZZZ().c
|
|
return "OK"
|
|
}
|
|
|