Support platformStatic for properties
#KT-5766 Fixed
This commit is contained in:
@@ -4,6 +4,8 @@ object A {
|
||||
|
||||
val b: String = "OK"
|
||||
|
||||
platformStatic val c: String = "OK"
|
||||
|
||||
platformStatic fun test1() : String {
|
||||
return b
|
||||
}
|
||||
@@ -34,5 +36,7 @@ fun box(): String {
|
||||
|
||||
if (A.(A::test4)() != "1OK") return "fail 4"
|
||||
|
||||
if (((A::c).get(A)) != "OK") return "fail 5"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user