mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
9 lines
89 B
Kotlin
9 lines
89 B
Kotlin
class A
|
|
|
|
fun A.foo() = "OK"
|
|
|
|
fun box(): String {
|
|
val x = A::foo
|
|
return A().x()
|
|
}
|