mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
10 lines
89 B
Kotlin
Vendored
10 lines
89 B
Kotlin
Vendored
open class A {
|
|
fun foo() = 42
|
|
|
|
object B: A()
|
|
}
|
|
|
|
fun test() {
|
|
(A::foo)(A.B)
|
|
}
|