Fix access to private static native functions
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object A {
|
||||
|
||||
private platformStatic fun a(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
object Z {
|
||||
val p = a()
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return A.Z.p
|
||||
}
|
||||
Reference in New Issue
Block a user