mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
9 lines
89 B
Kotlin
9 lines
89 B
Kotlin
open class A {
|
|
fun foo() = 42
|
|
|
|
object B: A()
|
|
}
|
|
|
|
fun test() {
|
|
A.B.(A::foo)()
|
|
} |