e079b8f425
#KT-2187 Fixed
18 lines
263 B
Kotlin
Vendored
18 lines
263 B
Kotlin
Vendored
import kotlin.platform.platformStatic as static
|
|
|
|
object Obj {
|
|
static fun foo() {}
|
|
}
|
|
|
|
class C {
|
|
companion object {
|
|
static fun bar() {}
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
(Obj::foo).call(Obj)
|
|
(C.Companion::bar).call(C.Companion)
|
|
return "OK"
|
|
}
|